API PointPicker without HTML UI

 From:  Michael Gibson
10961.2 In reply to 10961.1 
Hi Joe,

re:
> On the other hand, I haven't found a method to indicate that "I'm done selecting points" when
> you don't have a UI.

The way that is done in MoI is by having a a "Done" button. Then Enter or right-click in a viewport are shortcuts for pushing "Done".

Why are you trying to do it without any UI?

Without any UI the pointpicker will still generate a "cancel" event and waitForEvent() will return false when the Esc key is pressed, while a successful pick will generate "finished" so you could look for the cancel to stop picking points.

But it would be best to show UI with a "Done" button so it could behave similar to existing MoI commands.

- Michael