Submitted by nes386 on Fri, 05/22/2015 - 05:57
Forums:
How could I check if a component within an assembly is suppressed? I'm using a modified version of the recursion program on this site to process an assembly in various ways. I just need the single line of code that would determine that status. Thanks. NX 9
re: component suppressed
Use the .IsSuppressed property.
If you have a component reference variable named theComponent, you can check on the suppression status by using:
theComponent.IsSuppressed
It will return a True or False value depending on the suppression status.