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

Find All Constraints For Specified Component - iLogic

I thought this would be straight forward. I would like to suppress  a specific component in iLogic, then suppress any associated constraints. Then I would like to do the inverse, un-suppress the part and all associated constraints. However, what I have read so far is that the constraints are actually above the component in hierarchical terms. I have not found an easy way to select the constraints used on the part I want to suppress unless I specify them directly, which will increase the amount of code more than I would like.

 

There was an article that I looked at, Inventor 2017 - iLogic: Suppress Component & Constraints, that has some potential. The only problem is the need to cycle through all the constraints in the file and compare the suppression state. This might increase the time to cycle through the code more than I like. If anyone has another suggestion, I am open to other solutions.

 

Thanks