Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iLogic and Driven Constraints

6 REPLIES 6
Reply
Message 1 of 7
threedeenut
716 Views, 6 Replies

iLogic and Driven Constraints

Hey All,

 

I am having a problem.  I am trying to use a driven rotation to tell a part (using iLgoic) what the ammount of an offset should be. Everything works exactly as it should.  If the rotation is set to 360 deg then the diameter of the cylinder increases properly.  Unfortunately when I hit play on the driven constraint, it plays, rotates and does everything it should be the iLogic seems to be completely forgotten.  WHen I hit stop then cancel, the diameter pops to the correct size.  I ned this to update as it plays but that seems not to happen.  Any help?

6 REPLIES 6
Message 2 of 7
pierre.masson
in reply to: threedeenut

Hello Threedeenut

 

I'm afraid it's a limitation of Ilogic (or of drive contraint). Ilogic is not computed during the drive constraint operation.

 

Maybe you can workaround this trying to drive the constraint directly via Ilogic, like :

 

Modify constraint

System.Threading.Thread.CurrentThread.Sleep(xxxx)

Recompute other value

 

And so on..... Adjust your sleep value. You can probably create an Ilogic form where you set the Initial and End constraint value, and the sleep time.

 

Hope this helps.

 

Pierre Masson Product Support Specialist PS MFG EMEA Autodesk, Inc.
Message 3 of 7

Hello,

This limitation of ilogic is always on 2015 version. Do you plan enhance this for next version ?

Because use the drive constraint is useful if you want record your animation, for example.

Thank,

Nicolas

Message 4 of 7
wimann
in reply to: nicolas.striebig

If you need to record an animation but also need for iLogic to compute, try using Inventor Studio. There are plenty of tutorials on the web and if you run in to problems, you can always post them in these forums. I've found I prefer Inventor Studio over Driven Constraints for a number of reasons (at the very least, quality).

Hope this helps.

-Will Mann

Inventor Professional 2020
Vault Professional 2020
AutoCAD Mechanical 2020
Message 5 of 7
nicolas.striebig
in reply to: wimann

Hello Will,

Thank for your answer. Using Inventor Studio works but for me it's too much time for rendering.

And if it works for Inventor Studio, we could imagine that it works with Driven constraint, isn't it?


I would like to know the point of view of Autodesk about this limitation always active for the 2015 version ? And for 2016 ?

 


Thank,

Nicolas

Message 6 of 7
wimann
in reply to: nicolas.striebig

I would agree that your iLogic rule ought to work with a driven constraint but if it doesn't... I still find myself sticking to studio. I'm not sure how quickly you're needing to see it run but toggling some settings might help with the amount of time it's taking to render. However, if you're just wanting to show a short animation over and over then a driven constraint might be the way.

 

Another approach I've utilized before is creating a form. Are you familiar with forms? You can use the form to "drive" a value by dropping the constraint parameter into the form and switching the control to a slider. This can help give you the "motion" effect by allowing you to move a part by dragging a slider rather than by large incremental changes. It is, however, less effective in larger models. But it does work. Did one earlier this week.

 

Hope this helps.

-Will Mann

Inventor Professional 2020
Vault Professional 2020
AutoCAD Mechanical 2020
Message 7 of 7
nicolas.striebig
in reply to: wimann

Will,

Thank again for your answer. I use Forms but you can't record your animation with it.

I understand the limitation of iLogic and all I can do for counter it...

I think for collaborative job it could be useful to record an animation with ilogic rules and Driven constraint.

So, my question is just to know if Autodesk go to enhance this case or not ?

Nicolas

 

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report