Inventor Engineer-to-Order

Inventor Engineer-to-Order

Posts: 211
Registered: ‎11-14-2011
Message 1 of 2 (268 Views)
Accepted Solution

Intent api get the refchain of a Component Occurrence object

268 Views, 1 Replies
08-09-2012 06:15 AM

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.


Thank you,


Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000

Inventor 2013
ETO 6.1
Posts: 112
Registered: ‎11-10-2008
Message 2 of 2 (259 Views)

Re: Intent api get the refchain of a Component Occurrence object

08-09-2012 12:39 PM in reply to: bsee1



HostAPI has a method that returns a ref string from the Inventor object:


string refChain = Autodesk.Intent.IntentAPI.Instance.HostAPI.HostApplication.RefChainFromHostObject( occ)


You may wish to feed the result into RefChain class constructor for further analysis.


Thank you,

Alex Korzun
Autodesk Configurator 360 / Inventor ETO team
Autodesk, Inc.

Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.