i try to get alle current entities for my own custom palette.
I tried it with ed.SelectionAdded and ed.SelectionRemoved but it doesnt
work if I for example pressing ESC.
I want to get the Object Ids saved in a ObjectIdCollection and I dont
want to run an autocad command everytime.
Is there another event or a better method/solution for my problem?