Hi,
I use Inventor 2010 with iLogic installed.
I want to supress a component pattern in my assemply (created with "make components"). The supress command is controled from a parameter in my skeleton part. The parameter is given in an Excel document witch is embedded in my skeleton part. The skeletons parameters are linked in, and exported, in the assembly.
I have tried to use "Feature.Is.Active" and "Component.Is.Active" to supress the componant pattern. Nothing seemes to happen with "Feature.is..." and Inventor crashes when using "Componant.Is...."
This is my code:
If BaseRingDouble_OnOff = 0
Component.IsActive("BaseRingVertSupport Component Pattern:1") = 0
ElseIf
BaseRingDouble_OnOff = 1
Component.IsActive("BaseRingVertSupport Component Pattern:1") = 1
End If
Any other commands to control a supress in a Component Pattern?
Thanks!
Best Regards
Jonas Bolander
B.Sc ME
Component.IsActive should work for a pattern. Do you see any problems when you suppress and unsuppress the pattern manually, without using a rule? If there are no problems suppressing it manually, please post the model if possible.