The MicroStationAPI provides event handlers for the SelectionSetManager class...
void AddListener (ISelectionEvents *selectionListener);
void DropListener (ISelectionEvents *selectionListener);
The .NET API omits those handlers. Can I request that they be added to the .NET SelectionSetManager? How about it, Robert Hook?
Hi Jon Summers,
I have filed Enhancement 1111350 to address your request and target MSCE U16. Please note backlog priorities could potentially push the request further to a later future release.
Answer Verified By: Jon Summers
Curious if this was ever added? or are there other ways of hooking into "selection" events?
Viktor_Kulik said:Curious if this was ever added?
I do not see any similar method in API yet (CE U16.2) and NET SelectionSetManager seems not provide such functionality (yet?).
Viktor_Kulik said:or are there other ways of hooking into "selection" events?
As usually, use C++ API (or, from NET, C++/CLI to create wrapper to catch the required event(s)).
It is common rule / recommendation: When you want to monitor different MicroStation events, C++ API is the only right way. Even when some events can be hooked in NET also (but many exist in C++ only), they are often limited (e.g. some file transactions) or is recommended to use C++ because of performance.
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point