Autodesk ObjectARX
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
acedSSGet( "L"....)
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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
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
Re: acedSSGet( "L"....)
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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
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
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
