PDA

View Full Version : AutoPLANT to Redraw existing components



jgarza0422
09-20-2010, 10:27 AM
I have made a few chages to the cofig.ini file. THe changes are Insulation_Layer = Insulation, Insulation_Color = 151, Insulation_LineStyle = Border2. Now on a new dawing these modifications work, but how do I make all my existing drawings change to these new values? I have used the Representation Method to redraw the components and also just put in new components and still nothing. Please let me know what else to try. Thanks.

jgarza0422

Aplant Monkey
09-20-2010, 10:36 AM
you may need to reset your color settings as well. try this

(at_PipingSystemColorTable_display) ; displays color table in text window
(at_PipingSystemColorTable_reset) ; reads in CONFIG.INI and updates values. Values that are in the existing dictionary, but not in the INI remain.

jgarza0422
09-20-2010, 12:08 PM
Looks likes this is not working. Anything else to try.

awerning
09-20-2010, 01:07 PM
(at_PipingSystem_resetclassdef)

maybe?

or...

(at_PipingSystem_getVariable "Insulation_Layer")
(at_PipingSystem_setVariable "Insulation_Layer" "Insulation")
(at_PipingSystem_getVariable "Insulation_Color")
(at_PipingSystem_setVariable "Insulation_Color" "151")

jgarza0422
09-20-2010, 01:48 PM
Thanks Aaron! That worked.