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.
I spoke to soon..... The InterferenceBody was new in Inventor 2012 sorry.
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? ^_^
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.