I'm building a user interface, and I'd like to allow the user to click on the part they want to add a child to. When they click on a part, it returns a component occurrence. How can I get the refchain of this ComponentOccurrence object?
The childName is NOT the same as the displayName, so I cannot use the display name.
Solved! Go to Solution.
HostAPI has a method that returns a ref string from the Inventor object:
string refChain = Autodesk.Intent.IntentAPI.Instance.HostAPI.HostApp
You may wish to feed the result into RefChain class constructor for further analysis.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.