Hi!
Example: A simple smartpart of one circle, and the 2D representation is associated to a layer (pen, stroke and color). In the "smartpart dialog window" I scripted some code to unlink the layer color of the circle, to choose another diferent color, using a "control box" (that list the 256 allplan colors).
Using a "check box", it can lock and unlock this "control box" to choose a diferent circle color.
When is in lock position, this "control box", ever show the last color selection. But, when this "control box" is locked, is possible to show the color of the layer and not the last selection?
Thanks a lot!
Xavi
Xavier Coll • Architect, Project Manager I+D, BIM Manager, BIM Auditor
EiPM • http://www.eipm.es/en/