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: 

Subtract Interference Body from Part

3 REPLIES 3
Reply
Message 1 of 4
ga42bon
437 Views, 3 Replies

Subtract Interference Body from Part

Hello together,

 

I want check two objects for a collision in assembly. Therefore I developed an Addin with the Inventor API to use the "Interference Analysis" for those objects in an AssemblyDocument.

If there is an interference as a result of my check, I want to substract the "Interference Body" of the first object in its PartDocument.

 

Is there a way to use the SurfaceBody "InterferenceResult.InterferenceBody" to substract it from the first object in its PartDocument?

 

There is a screenshot inserted below to visualise the interference analysis of the two objects. I want to use the Inventor API to substract the red Interference Body of the grey object.   

 

Thank you for your help!

Sebastian    

 

220517-Wochenbericht KW20 - Interference Body.JPG

 

3 REPLIES 3
Message 2 of 4

I think you will have to derive the interfering body.ipt into the main body.ipt, relocate the origin of the body based on assembly coordinates, and then use a combine feature to subtract the body.

Message 3 of 4
ga42bon
in reply to: ga42bon

Thank you for your answer, @SometimesInventorMakesMeAngry

 

I'll try that. I might have some problems implementing this because I'm quite new to the Inventor API.

So I might get back at you if that's okay.

Message 4 of 4

I've used the API for awhile, but I've never actually used any of the API implementations of the mentioned features. I find writing whatever method you intend to use in your add-in in Inventor's VBA editor is great for prototyping. If you've used these features before, it's usually not that hard to figure out its API equivalent.

I can try to help if needed.

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

Post to forums  

Autodesk Design & Make Report