Getting selected objects during a command

Getting selected objects during a command

Anonymous
Not applicable
153 Views
0 Replies
Message 1 of 1

Getting selected objects during a command

Anonymous
Not applicable
I'm trying to intercept the objects a user selects during an erase
command to determine if there are any database links attached.
I have explored different permutations of the ActiveSelectionSet
during BeginCommand, EndCommand and SelectionChanged.
(If they pick the objects first, the PickfirstSelectionSet during a
SelectionChanged event seems to do what I need).

Is there anyway to do what I'm asking without rewriting the erase
command? It seems like the hooks should be there but I can't find
them.
0 Likes
154 Views
0 Replies
Replies (0)