Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Deleted Occurrence Constraint

2 REPLIES 2
Reply
Message 1 of 3
Genicee
380 Views, 2 Replies

Deleted Occurrence Constraint

I have seen post on deleting all contraints in an Assembly, but I haven't been able to find any information in the API or anywhere on the internet on deleting a specific constraint of an occurrence or all the constraints of a specific occurrence within an assembly.

 

Thanks

2 REPLIES 2
Message 2 of 3
adam.nagy
in reply to: Genicee

Hi,

 

You'll have to go through the constraints in the assembly and then see which ones involve a specific occurrence and delete those.

You can simply select a constraint in the user interface and then investigate its properties in VBA: 

http://adndevblog.typepad.com/manufacturing/2013/10/discover-object-model.html

 

Cheers,



Adam Nagy
Autodesk Platform Services
Message 3 of 3
Genicee
in reply to: adam.nagy

Thanks for the replay. This is what I ended up doing in the meantime. Wasn't sure if there was another easier option out there.

 

Thanks,

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report