Autodesk Inventor Engineer-to-Order
Reply
Topic Options
- Start Article
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Intent api get the refchain of a Component Occurrence object
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
170 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,
Brandon
*****************************
Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000
Inventor 2013
ETO 6.1
Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000
Inventor 2013
ETO 6.1
Solved! Go to Solution.
Re: Intent api get the refchain of a Component Occurrence object
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-09-2012 12:39 PM in reply to:
bsee1
Hi
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.
Thank you,
Alex Korzun
Principal Engineer
Inventor Engineer-to-Order
Alex Korzun
Principal Engineer
Inventor Engineer-to-Order
