Call the Type Constrain directly

Call the Type Constrain directly

Anonymous
Not applicable
330 Views
3 Replies
Message 1 of 4

Call the Type Constrain directly

Anonymous
Not applicable

Hi eveybody.

 

Could I call directly the type of constrain that I want in such a manner it just appears chosen at the "Place Constraint" panel? (Inventor 2014)

0 Likes
331 Views
3 Replies
Replies (3)
Message 2 of 4

JamieVJohnson2
Collaborator
Collaborator

Confusing question, I'm not sure of your desired process and how this fits within your bigger picture. 

You can create the constraint via Code, then editing that constraint with the dialog will show the selected options.

 

Are you thinking sketch constraints (and parametrics), or assembly 'relationships' formerly called constraints?

 

 

Jamie Johnson : Owner / Sisu Lissom, LLC https://sisulissom.com/
0 Likes
Message 3 of 4

Anonymous
Not applicable

Just trying to enter directly at the Constrain Type.

i.e.: I've placed two parts on my assembly, then I go to the Constrain command and choose "Type" Insert and the "Solution" Opposed, choose the constrains, press Ok button and Finished.

What I want is, the next time I enter the Constrain command, its choice panel be opened at the last configuration I'd chosen, that is "Type" Insert  and the "Solution" Opposed and not the default panel ("Type" Mate and the "Solution" Mate)

0 Likes
Message 4 of 4

JamieVJohnson2
Collaborator
Collaborator

The only way to accomplish that is to press apply, and not ok.  that keeps the dialog open.  However, it only works if you are constraining multiple times in a row, because once it closes, it resets.  Part of the design of the core program (I haven't found a way to override sub interface behaviors like that). 

 

If your question is the ability to overwrite this design, I have not the answer, unless you want to create your own replacement interface for the whole constraint tool that does that (which can be done with the api), but that would be time consuming for sure.

Jamie Johnson : Owner / Sisu Lissom, LLC https://sisulissom.com/
0 Likes