• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Inventor Engineer-to-Order

    Reply
    Member
    Posts: 3
    Registered: ‎08-17-2009

    Retrieving the refchain of the selected part

    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?
    Please use plain text.
    Employee
    Posts: 87
    Registered: ‎03-06-2006

    Re: Retrieving the refchain of the selected part

    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.
    Please use plain text.