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
Retrieving the refchain of the selected part
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
52 Views, 1 Replies
08-17-2009 02:31 AM
I am building a .net application on top of Autocad 2010 with Intent 2010.
Let's say for instance, that my whole model consists of intent generated children, e.g., 10 different blocks. Now, all of them have a given refchain which identifies them in the automation model, e.g., "root:block_1:", "root:block_2:", and so on. If I click one of those blocks in the Autocad view, is there a way that I can, using the .net intent API, retrieve the refchain of that given part?
Let's say for instance, that my whole model consists of intent generated children, e.g., 10 different blocks. Now, all of them have a given refchain which identifies them in the automation model, e.g., "root:block_1:", "root:block_2:", and so on. If I click one of those blocks in the Autocad view, is there a way that I can, using the .net intent API, retrieve the refchain of that given part?
Re: Retrieving the refchain of the selected part
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-28-2009 10:55 AM in reply to:
jrofactotech
There is currently no Intent API for this, but Intent writes the reference chain onto each entity it creates as extended entity data (EED). This is an AutoCAD way of tagging entities. You can extract it from there. It is a little complicated, because EED is size-limited. I think to 255 bytes. If the refchain is longer than this, we have to use a dictionary lookup (the EED then contains the key). This is all a little complex to cover here, and it certainly needs an API to hide it, and such an API is on "the list". Until then, contact Intent_Support directly.

