Inventor General Discussion

Inventor General Discussion

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

iLogic and Driven Constraints

127 Views, 1 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 2 (98 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.
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

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