Hello everyone
I am currently using the ed. getselection() method
I selected three times during the operation process
Two box selections (PT1+PT2&PT3+PT4), one pick selection (PT5)
I want to know what the entity result is after selecting PT1 and PT2 in the box
I know what kind of event may be needed,
but I really don't know where to start
Please help me, thank you
Solved! Go to Solution.
Solved by ActivistInvestor. Go to Solution.
Solved by ActivistInvestor. Go to Solution.
You can use the Editor's SelectionAdded event for that.
Have a look at these posts for some examples.
Thank you for your reply
I want to know the entities selected each time, whether they are duplicated or not.
For example, I chose twice,
Once selected text 123 in block reference A,
Another time, I selected the text 456 in the same block reference A
I hope to get the points I make each selection
and the objectid of the selected block reference,
even if there are duplicate block references
I found that Ed-SelectionAdded filtered out duplicate block references
So I didn't receive any feedback on my second choice
could you help me for this?
You have to set the PromptSelectionOptions to allow subselections and allow duplicates.
If you need further help please post your code.
Can't find what you're looking for? Ask the community or share your knowledge.