• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Autodesk ObjectARX

    Reply
    Active Contributor
    Posts: 49
    Registered: ‎09-22-2003

    acedSSGet("L"....)

    59 Views, 1 Replies
    09-01-2005 05:23 AM
    Hi all


    I create a custom object via a jig and append it. Later in the same command i want to select this entity(using acedSSGet("L"....) and acdbSSSetFirst) and start property palette in AutoCAD before i exit the command.

    This works fine but it's the second last entity that gets selected.

    Also tried to preserve the object ID I get from append() in the jig. Gets the corresponding ads_name but still can't get this working.

    Does the database needs to be updated in any way?


    Best regards
    Tore
    Please use plain text.
    *Tony Tanzillo

    Re: acedSSGet("L"....)

    09-01-2005 02:37 PM in reply to: eltoro
    You use acdbGetAdsName() with the object id to
    get the ads_name, then you use acedSSAdd() to
    add it to a new selection set, and pass that to
    acedSSSetfirst(), and then use acedSSFree() to
    release the selection set.

    --
    http://www.caddzone.com

    AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
    http://www.acadxtabs.com

    wrote in message news:4944994@discussion.autodesk.com...
    Hi all


    I create a custom object via a jig and append it. Later in the same command i want to select this entity(using acedSSGet("L"....) and acdbSSSetFirst) and start property palette in AutoCAD before i exit the command.

    This works fine but it's the second last entity that gets selected.

    Also tried to preserve the object ID I get from append() in the jig. Gets the corresponding ads_name but still can't get this working.

    Does the database needs to be updated in any way?


    Best regards
    Tore
    Please use plain text.