ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

acedSSGet("L"....)

1 REPLY 1
Reply
Message 1 of 2
Anonymous
252 Views, 1 Reply

acedSSGet("L"....)

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
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost