Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iLogic Comp.Pat Supress in Assembly?

1 REPLY 1
Reply
Message 1 of 2
DryMartini79
425 Views, 1 Reply

iLogic Comp.Pat Supress in Assembly?

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

1 REPLY 1
Message 2 of 2
MjDeck
in reply to: DryMartini79

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.

 


Mike Deck
Software Developer
Autodesk, Inc.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report