API PointPicker without HTML UI

 From:  Joe (CTKJOSE)
10961.1 
Hi

I would appreciate any ideas on how to let the user select an unknown amount of points.

I noticed that using PointPicker to select multiple points works fine if the command has a UI/HTML (moi.ui.commandUI is available).
In this case `pointpicker.event` will include events triggered by the `commandUI` in particular:

- Enter key will trigger the "done" event, and the "Esc" key will trigger the "cancel". Both of these events I can catch with `pointpicker.event`.
- You can also use `moi.command.registerCommandSpecificShortcutKey`.

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.

I can work around this if I know the number of points to select before entering my `waitForEvent` loop.