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: 

I logic

4 REPLIES 4
Reply
Message 1 of 5
keithc03
297 Views, 4 Replies

I logic

How can i run a rule in an assembly to control a parameter that occurs in different parts

ie to turn a feature on or off on mutiple parts

4 REPLIES 4
Message 2 of 5
CCarreiras
in reply to: keithc03

Hello.

 

First you have to link parameters between the parts and the assembly. That way you can control the parts deffinitions in the assembly enviroment.

Next you have to apply rules in the parts to suppress or not the features you want to control.

An example: To supress a hole in a part:

make a user multivalue paramenter in the assembly called "hole" and give a multivalue 1 and 2.

Link that paramenter to the part.

In a part make this rule:

 

If hole=1 then

feature.isactive("hole")=true

elseif hole=2 then

feature.isactive("hole")=False

endif

 

 

with this small rule, you can unsuppress the hole if you input in the assembly inviromente the value 1 or supress the hole if you choose the value 2.

 

See the inventor ilogic tutorials to understand better.

 

CCarreiras

EESignature

Message 3 of 5
keithc03
in reply to: CCarreiras

thanks Carlos

 

but would this work if the parts had different names

Message 4 of 5
CCarreiras
in reply to: keithc03

Yes.

 

All you have to do is link each part parameter to the main assembly.

CCarreiras

EESignature

Message 5 of 5
JDMather
in reply to: keithc03

There are several classes on iLogic here http://au.autodesk.com

 


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


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

Post to forums  

Autodesk Design & Make Report