[V8i C++] Pick Multiple Elements

class PickPointsTool : MstnElementSetTool

I want to write a tool using the C++ MicroStationAPI supplied with the V8i SDK.  The tool should accept multiple point elements (e.g. cells, zero-length lines). Once user has chosen, say, four or more point elements, she resets to start a calculation involving that element set.

My tool works for fences and selection sets. What I can't figure out is how to let user select a point element, and then to continue selecting similar elements.

I can see the result of the first select — the tool builds an ElementAgenda containing that element. But then it continues to OnElementModify then restarts itself.

How do I write a pick tool that will build an ElementAgenda of more than one element?

Parents Reply Children
No Data