When you use Inventor command "Inspect" -->"Analyze Interference" command to analyse interference of two component, it not only gives you the interference volume, but also highlight the interference volume area to exactly identify it, as shown in the attached screen shot.
We want to implement this interference analyse using API. But the API sample in the help file (in AssemblyComponentDefinition.AnalyzeInterference Method) only gives the way to highlight the two interfering component occurences and the interference volume, but there is no way to know where they exact interfere. So how to highlight the the interference location as in the inventor command? or does inventor exposes this function to API?
Thank everyone for help!
There is no functionality provided directly to highlight the interference volume, because no corresponding entity actually exists in the model.
You can use "InterferenceResult.InterferenceBody" that returns a transient body representing the exact interference volume. You can use this body for example to display a custom client graphics (see "GraphicsNode.AddSurfaceGraphics") with a specific render style that could be displayed on top of visible geometry (SurfaceGraphics.BurnThrough).
I hope it helps.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.