Announcements

Announcement: We’re aware of an issue affecting starting a new topic from category pages and creating new blog posts. New topics can still be started directly from the relevant board. Learn more here.

Drive constraints

Drive constraints

Anonymous
Not applicable
3,824 Views
13 Replies
Message 1 of 14

Drive constraints

Anonymous
Not applicable

How can I edit a driven constraint?  I made a part move back and forth multiple times, and I want to change the position to which it moves for one of the cycles.  But the little window into which I put the position will not let me change anything.

0 Likes
Accepted solutions (1)
3,825 Views
13 Replies
Replies (13)
Message 2 of 14

Marco.Takx
Mentor
Mentor

Every constrain can be Drive.

In the drive dialog you can change the Start end End position.

 

 

2016-01-26_9-10-39.jpg

Met vriendelijke groet | Kind regards | Mit freundlichem Gruß

Marco Takx
CAM Programmer & CAM Consultant



0 Likes
Message 3 of 14

Anonymous
Not applicable

Thanks for the reply.  That works OK, but it's not my problem.  In Inventor studio I drive a constraint in several stages, but once that is done the only way to change anything is delete the entire constraint and start over.  The attached file is a simple example.  The mate constraint is driven from 2 inches to 6 inches over a time of 2 seconds, then back to 2 inches over the next 2 seconds (4 seconds from start), then to 9 inches for the next 2 seconds (6 seconds from start), and back to 2 inches (8 seconds from start).  Suppose I want to change that 9 inches to 7 inches at time 6 seconds from start, or perhaps change one of the 2-second time intervals to 1.5 seconds.  The dialog box will not let me type in any changes, or if it does I will get a message that says there is a time overlap.   

0 Likes
Message 4 of 14

JDMather
Consultant
Consultant

@Anonymous wrote:
... In Inventor studio I drive a constraint in several stages, but once that is done the only way to change anything is delete the entire constraint and start over. ....   

First thing, have you installed all Service Packs and Updates for 2012?
I think you mean Animate Constraint rather than drive constraint.

I like to create a home position constraint (and perhaps Position Rep) and suppress that so that any time I need to get back to a starting position I can simply un-suppress and re-suppress.

 

I think you might be better off creating a named Parameter and Animate Parameter. Changing the parameter changes it everywhere at once.

 

But I think it all comes down to parent/child dependencies - just like everything else in a parametric software.


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


0 Likes
Message 5 of 14

Anonymous
Not applicable

Thanks for the guidance.  You are right - I should say animate constraint, not drive constraint.  As you can see, I'm new at this.  I downloaded all the service packs as you suggested, but that in itself doesn't solve the problem, of course.  

 

I created a positional representation as the home position.  And I created a named parameter for the mate spacing constraint, but Inventor Studio won't let me animate that.  If I select parameter, it just says there are no favorite parameters defined.  So I still have no way to make any changes in the constraint animation.

 

 

0 Likes
Message 6 of 14

JDMather
Consultant
Consultant

There are a couple of tricks that I left out in getting Parameter Favorites.

Attach your new assembly here.

 

The method you were using would work - as long as you follow logic.

You cannot have an event exist in two different positions simultaneously (with later event before earlier event), so you must change the earlier event and then the later event.


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


0 Likes
Message 7 of 14

Anonymous
Not applicable
Accepted solution

Aha!  That does it.  Thanks very much.  It looks like for the operation I want to change I have to select it on the time line, and the only thing I can change is the ending position.  It also looks like the only way to change start and end times is to drag the time line.  Now that you have educated me, I'm ready to forge ahead!

0 Likes
Message 8 of 14

Anonymous
Not applicable

Hello,

I can not get the drive dialog box to appear after adding constraint and clicking drive?

in 2019 inventor

0 Likes
Message 9 of 14

JDMather
Consultant
Consultant

@Anonymous wrote:

I can not get the drive dialog box to appear after adding constraint and clicking drive?

in 2019 inventor


Can you Attach your assembly here?


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


0 Likes
Message 10 of 14

Anonymous
Not applicable
[cid:2b9dcd1d-a895-4434-b544-b804e5ca976f]
0 Likes
Message 11 of 14

Anonymous
Not applicable

screen shot attached

0 Likes
Message 12 of 14

JDMather
Consultant
Consultant

Can you use Assembly Constraints rather than Joints?

Can you Attach your assembly here?


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


Message 13 of 14

Anonymous
Not applicable

hi

 

same result, no drive dialogue box,  in this simple example

 

0 Likes
Message 14 of 14

Anonymous
Not applicable

I found the dialogue box hidden in other screen, Thank you anyway

0 Likes