iLogic Updating the iProperties Description Field

iLogic Updating the iProperties Description Field

jimm.motyka
Enthusiast Enthusiast
367 Views
3 Replies
Message 1 of 4

iLogic Updating the iProperties Description Field

jimm.motyka
Enthusiast
Enthusiast

I created a rule, which updates two dimension parameters, which then is populated in the iProperties Description field.

 

iProperties.Value("Project", "Description") = Thickness & " X " & WIDTH & " X " & LENGTH

While it works as I expect it to, I would like the values to update automatically when the width and length are adjusted, rather than re-running the rule to get the values to update in the Description field.  Eliminating that step will eliminate the chance of error in the event that the rule isn't re-run.

 

I'm guessing it's something simple to add for this to happen, yet don't know how to get there.  Any assistance would be greatly appreciated.  Thank you.

0 Likes
Accepted solutions (1)
368 Views
3 Replies
Replies (3)
Message 2 of 4

swalton
Mentor
Mentor
Accepted solution

Two thoughts:

1. Set an iLogic trigger to run on geometry changes.  The rule should then run whenever you change and update the geometry.

swalton_0-1660330381069.png

2. Export the Length and Width dimensions to custom iProperties in the parameters window and then use an expression in the Description iProperty.  (=<Thickness> X <WIDTH> X <LENGTH>) or similar.

swalton_2-1660330552916.png

 

swalton_1-1660330491859.png

 

Steve Walton
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Inventor 2025
Vault Professional 2025
0 Likes
Message 3 of 4

jimm.motyka
Enthusiast
Enthusiast

I will try that out and will (hopefully) post my success.  Thank you in advance.

0 Likes
Message 4 of 4

jimm.motyka
Enthusiast
Enthusiast

Thank you!  It worked as I was expecting.

0 Likes