
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, is there an ilogic piece of code that could remove the "Use color override" checkbox for derived and mirrored parts?
Here is my issue; I made a code that checks if the ActiveDocument is a part or an assembly and runs a code that creates variables and changes the color of the activepart, but at every derived or mirrored part, it does not do it because obviously they are by default ticked to use the color override and don't automatically update themselves unless you right click and select "Modify source part" or something like that (I use a French version, so sorry if the terms aren't exact) and then apply settings. I would like to be able to add a piece of line to my code that would say "If this piece is a mirror or derived part, uncheck this box and then keep going with the code".
As a temporary (hopefully?!?) solution, I added a RegEdit DWORD variable to permanently uncheck that feature from Inventor (thanks Inventor Forum!), but if I could add that to my code instead, it would be even better as we wouldn't need to remember to do it IF we need to format our machines or change versions of Inventor.
Thanks !
Solved! Go to Solution.