Select last inserted object - but so the object is physically selected

Select last inserted object - but so the object is physically selected

SRSDS
Advisor Advisor
858 Views
3 Replies
Message 1 of 4

Select last inserted object - but so the object is physically selected

SRSDS
Advisor
Advisor

Is there a way to do this? It's hard to search for a solution given:

 Dim psr As PromptSelectionResult = ed.SelectLast()

 

 

0 Likes
859 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

Autodesk.AutoCAD.Internal.Utils.EntLast() might do what you want.

0 Likes
Message 3 of 4

chiefbraincloud
Collaborator
Collaborator

use Editor.SetImpliedSelection

Dave O.                                                                  Sig-Logos32.png
Message 4 of 4

SRSDS
Advisor
Advisor

Got it. Thanks

ed.SetImpliedSelection(ed.SelectLast.Value)

0 Likes