I've noticed that one can turn off the visibility of an entire component pattern by manually right-clicking the pattern in the browser and unchecking "Visibility". However, when one tries to automate this process with the following code, only the first element of the pattern is made invisible.
Component.InventorComponent("Pattern1").Visible = False
Am I doing something wrong? Is there a better way to do this, or will I be forced to develop a "workaround" like first changing the number of elements to 1?
I've been desperately trying to find a way to "turn off" unneeded assembly components without iAssemblies or LOD's, but Inventor always finds a way to stop me. This workflow of turning off visibility and setting BOM status to "Reference" would work if only I can make patterns invisible, also.
Solved! Go to Solution.
Just stumbled on to this thread,
Hope it helps. let me know, if you need further help.
If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!