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