Pausing iLogic Rule during rule so that I can see a range.

Pausing iLogic Rule during rule so that I can see a range.

11133SFW4P
Explorer Explorer
495 Views
2 Replies
Message 1 of 3

Pausing iLogic Rule during rule so that I can see a range.

11133SFW4P
Explorer
Explorer

Hi All, 

My situation currently is that I have an angled constraint which I would like to run through a set values say from -10 to 10 degrees, then back to the starting position, However the path is not symmetrical, So on the way back I need to turn a few constraints off and a few on. So this means I cannot just drive the constraint. 

My thinking was that I could Change the angle incrementally, then pause, then repeat, Thus making the motion easy to see, however I can't seem to find anyway to pause, or delay iLogic. 

I am fairly familiar with iLogic and Coding so I thought this should be an easy function. 

 

Any other suggestions are much appreciated, 

 

Thanks In Advance for your help

 

Alex 

0 Likes
496 Views
2 Replies
Replies (2)
Message 2 of 3

11133SFW4P
Explorer
Explorer

After some digging I found this Delay Command for AutoCad LT, But I dont know what the inventor version is, https://knowledge.autodesk.com/support/autocad-lt/learn-explore/caas/CloudHelp/cloudhelp/2017/ENU/Au...

0 Likes
Message 3 of 3

philip1009
Advisor
Advisor

First off, I'll let you know that coding questions are better suited for the Inventor Customization forum, and I expect an Admin will move this post over there when they see it.

 

Is it the same constraints that are being turned on/off during the simulation?  You can control that in iLogic via:

 

SyntaxEditor Code Snippet

Constraint.IsActive("Mate:1") = True 'or False

Just make sure you turn off one set of constraints before turning others on, otherwise you'll get an error.

 

Inventor 2019 also offers more snippets for constraint/assembly control if that's the software your using.

0 Likes