Inventor General Discussion

Inventor General Discussion

Reply
Contributor
threedeenut
Posts: 21
Registered: ‎11-28-2011
Message 1 of 7 (177 Views)

iLogic and Driven Constraints

177 Views, 6 Replies
04-09-2012 11:49 AM

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?

Product Support
pierre.masson
Posts: 227
Registered: ‎05-27-2010
Message 2 of 7 (148 Views)

Re: iLogic and Driven Constraints

04-17-2012 12:45 AM 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.
Active Member
nicolas.striebig
Posts: 9
Registered: ‎12-22-2010
Message 3 of 7 (48 Views)

Re: iLogic and Driven Constraints

09-09-2014 04:33 AM in reply to: pierre.masson

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

Mentor
wimann
Posts: 263
Registered: ‎10-10-2011
Message 4 of 7 (37 Views)

Re: iLogic and Driven Constraints

09-09-2014 06:31 AM 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 2014 : SP2
Vault Professional 2014
AutoCAD Mechanical 2014
Active Member
nicolas.striebig
Posts: 9
Registered: ‎12-22-2010
Message 5 of 7 (24 Views)

Re: iLogic and Driven Constraints

09-10-2014 06:19 AM 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

Mentor
wimann
Posts: 263
Registered: ‎10-10-2011
Message 6 of 7 (22 Views)

Re: iLogic and Driven Constraints

09-10-2014 06:32 AM 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 2014 : SP2
Vault Professional 2014
AutoCAD Mechanical 2014
Active Member
nicolas.striebig
Posts: 9
Registered: ‎12-22-2010
Message 7 of 7 (17 Views)

Re: iLogic and Driven Constraints

09-10-2014 07:22 AM 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

 

 

 

Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.