Selection Methods

Selection Methods

tobias_wiesendanger
Advocate Advocate
290 Views
2 Replies
Message 1 of 3

Selection Methods

tobias_wiesendanger
Advocate
Advocate

Is there a method to select what you just created?

 

At the moment im using an event that fires after a command stops. 2048 is the sketchedsymbol command and it should now select what the user just placed. The name of that symbol can be everything so I cant hardcode any name.

 

Private Sub m_userEvents_OnStopCommand(CommandID As CommandIDEnum) Handles m_userEvents.OnStopCommand
If CommandID = "2048" Then

.... Select what the user just placed ... 

 

Kind regards

 

Tobias

0 Likes
291 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

I not 100% sure this will work.

What if you create an Object Collection then after you place the new object just select the last object in the collection.

Message 3 of 3

tobias_wiesendanger
Advocate
Advocate

Not realy sure how I would do that. I did it know by counting symbols before and after and getting the difference to generate like .item(t) and fill the number.

 

Thanks for answering anyway.

 

 

0 Likes