Hi Tudor, re: #2:
> 2. pointpicker.addSnapPoint( startpt, moi.ui.getText('Closed') ) I dont see text toolbox- is any trick behind
When you call moi.ui.getText( 'textid' ); that looks up text in the current language's string table for the text of the given id value.
There is no id value for "Closed" so your call there is going to return an empty string.
To fix it you could just pass some text directly instead of calling moi.ui.getText(), or use a valid textid like 'Closed snap'.
- Michael
|