I've looked around and experimented, but couldn't find a way to track mouse pointer movement and use it in a loop to do some function.
For example: If one were to implement the stretch function (i.e. mimic leHiStretch) or to implement a custom ruler function, how could that be done? The enterPoints is a great way to input 2 points - addPointProc and doneProc can be used to start and end, but any ideas on how to track the mouse movement after the first point is entered and keep updating a shape as and when the mouse moves and to stop when the second point is added (clicked)?
Tried hiGetDbuPoint in a while(1) type of a loop, but it seems to go crazy and am unable to get a smooth stretch function..
The main intent was to try a custom leHiStretch (with a slightly modified functionality - to say automatically stop stretching beyond a certain point, or to stretch few other edges in addition that weren't actually selected, etc.).
You're effectively after some kind of custom rubber-banding function. Well, the only public ones that are available are the enter.* family (e.g. enterPath, enterBox, enterLine etc - you can't build your own at the SKILL level).
Anything else, please contact customer support - it may require an enhancement.
Hmm.. Ok Andrew, Thanks for the prompt response !