Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I want to suppress a constraint in a sub-assembly. The code that I use:
Constraint.IsActiveInDoc("000090-0000-A.iam", "Insert_180:1")=False
This works perfect but i can't copy and rename the parts because the iLogic rule won't find the filename anymore.
Instead of this i used the following code(like advised on https://knowledge.autodesk.com/support/inventor/learn-explore/caas/CloudHelp/cloudhelp/2020/ENU/Inve... :
Constraint.IsActiveInComponent("Empty_Pallet_Stopper:1", "Insert_180:1") = False
This should work perfect, but it doesn't. I get the following error (see attached image)
Anyone who could give me some advice? I use Inventor 2019
Solved! Go to Solution.