Inventor Engineer-to-Order

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

Intent api get the refchain of a Component Occurrence object

223 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: 108
Registered: ‎11-10-2008
Message 2 of 2 (214 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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community

Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor