ObjectARX

Reply
Active Contributor
eltoro
Posts: 49
Registered: ‎09-22-2003
Message 1 of 2 (70 Views)

acedSSGet("L"....)

70 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
*Tony Tanzillo
Message 2 of 2 (70 Views)

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
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.