Message 1 of 6
Creating constraints with code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I need to programmatically add an assembly to my assembly and constrain it. I de ally I need 2 flush constraints and a constraint to the centre of an edge curve I select. Let's say I select the edge curve first, then the edge face and finally, the large top face. Can it be achieved? Will I need to set up imates?
Also, could it be done with multiple occurrences? I have made a routine that will add 9 parts in an array ( 1 in the centre and 4 each side.) I need them to be constrained
Any ideas?
Thanks
Niige
I need to programmatically add an assembly to my assembly and constrain it. I de ally I need 2 flush constraints and a constraint to the centre of an edge curve I select. Let's say I select the edge curve first, then the edge face and finally, the large top face. Can it be achieved? Will I need to set up imates?
Also, could it be done with multiple occurrences? I have made a routine that will add 9 parts in an array ( 1 in the centre and 4 each side.) I need them to be constrained
Any ideas?
Thanks
Niige
Nacho
Automation & Design Engineer
Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.