Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Making An .ipt Rule Run From An .iam

ASchlaack
Collaborator

Making An .ipt Rule Run From An .iam

ASchlaack
Collaborator
Collaborator

I need a way to fire rule "Length" in part "Angle" when there is a parameter change in my assembly. How can I do this?

Thanks,
Aaron Schlaack
---------------------------------------------------------------------------------
Autodesk Inventor 2018
Dell Windows 8.1 64 bit Intel(R) Xeon(R) @ 3.50GHz 32GB Ram
0 Likes
Reply
Accepted solutions (1)
475 Views
2 Replies
Replies (2)

rjay75
Collaborator
Collaborator
Accepted solution

You have two options depending on how your rules are written in the part.

 

In your assembly you can have a rule that responds to a parameter change. That rule can then change the part parameter  or run a rule. If the rule in the part is an internal rule written using the parameter name then it will automatically respond to a parameter change in the part. If the rule must be explicitly run then that can be done to.

 

From the assembly:

 

Run rule in subcomponent:

iLogicVb.RunRule("Angle", "Length")

 

Modify a parameter

Parameter("Angle", "length") = 2.0 in

 

 

 

 

ASchlaack
Collaborator
Collaborator

Thank you, I used the first rule and it worked great!

Thanks,
Aaron Schlaack
---------------------------------------------------------------------------------
Autodesk Inventor 2018
Dell Windows 8.1 64 bit Intel(R) Xeon(R) @ 3.50GHz 32GB Ram
0 Likes