I add a definition line in your code: Dim oClientGraphics As ClientGraphics.
And create two parts as yours and make an assembly, want to repeat your success, still not working.
Stop at (see attached error massage): XXXXXX.....InterferenceBody
I am running on Inventor 2011. But I don't think this is a new feature if there is any.
Very strange. I should have mentioned that I am using Inventor 2013 but I don't know if the InterferenceBody is new since 2011. I can't imagine it would be.
Maybe post your dataset and I'll try it in 2013.
Yes. The code works for Inventor 2013, but not 2011.
So I still have the question: is it possible to provide 2 inputs to run Inventor commands using API? ^_^
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register