|
update all configurations
i wrote a macro to open change the color and close my part files. i am wondering if there is a way to tell it to change the color on all configurations as some of them don't change and some do. anyone know how to make sure they all do?
thanks,
jonah
originally posted by: jonah kunz
i wrote a macro to open change the color and close my part files. i am wondering if there is a way to tell it to change the color on all configurations as some of them don't change and some do. anyone know how to make sure they all do?
jonah,
colors in sw is a subject which will easily require a complete chapter in any sw book... here is a couple of things to check/do:
- is the configuration property "use configuration specific color" enabled?
- is the color controlled from a design table?
- if it is a question about sw not updating the models correctly you will probably need to activate each configuration in the model and change the color for each configuration - as a part of your macro.
jorn bjarning
cswp
cad & plm consultant
sw2008 sp5 / sw2009 sp2
edited: 08/12/2008 at 03:05 am by jorn bjarning
how do you get and set the active configuration ?
i am able to get the collection of config names, just not change anything.
thanks,
jonah
nm, i think i have it... for anyone else looking.
vconfigcount = swpart.getconfigurationcount
for i = 0 to vconfigcount - 1
bconfig = swpart.getconfigurationnames(i)
swpart.showconfiguration (bconfig)
next
quick |
|