Deselection in multiselection loop

Deselection in multiselection loop

Anonymous
Not applicable
387 Views
1 Reply
Message 1 of 2

Deselection in multiselection loop

Anonymous
Not applicable

Hi everybody,

Could you suggest me to know how to use deselect method like (shift+left mouse) to deselect an object in multiselection. I use multiselection in do while loop to select drawing curve segments, if I choose a wrong object I can use shift+left mouse to deselect this object, then continue a task.

Thanks in advance.

0 Likes
388 Views
1 Reply
Reply (1)
Message 2 of 2

WCrihfield
Mentor
Mentor

Have you tried using the DoSelect & DoUnSelect Subs, available from the CommandManager?

ThisApplication.CommandManager.DoSelect(oEntity)

ThisApplication.CommandManager.DoUnSelect(oEntity)

It might be tedious, but you could ask yourself, within selection loop, if you want to UnSelect the last selection, or use this question at the end of the selection loop, but before acting upon the selection collection.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes