Am I correct that you want to change this option for for example selected components in the assembly (set this preferences for all underlying models of those components)?
It would be nice to do it at the assembly level (i.e. hit a mapkey and all the parts individual wireframes automatically update to match whatever color their appearance color is at the part level). However, I would be OK with even doing it at the part level rather than the assembly level. The assembly level would be really nice though....let's call that an added bonus.
Please find the macro in the attachment. It is working the following way:
- If active model is part it will set this toggle to current part
- If the current model is assembly it will set this toggle for all referenced models of the selected component. Select all components to update all models.
Please refer those articles of how you can assign the shortcut for a macro:
The macro is tested to work with SolidWorks 2012 and newer. However may work with 2011 as well – I do not have it on my machine.
Hope it helps.
Artem Taturevych, Application Engineer at Intercad (Australia)
translationXpert – add-in to translate SolidWorks models
myIntercad – an integrated tool for SolidWorks Professionals
ApplyWireframeColor.swp.zip 9.7 KB
I'll check it out in 2011 and report back. Thanks for taking the time to mess with this!
Artem - I can confirm this works as you describe and it works in SW2011. Thanks! FYI - I did find that when you are in an active assembly, to turn all the part wireframes to color you have to actually expand the model tree down all the way to the part levels and make sure you are selecting the actual parts. It won't auto-drill down to the part level if you have sub-assemblies within your assembly. But otherwise this macro works perfect! Thanks again for your help.