In scripts when we drag with mouse, code looks like:
view.draw_line startPossition, endPossition
'start Position' is defined by click, 'end Position' is moving with mouse.
Is it possible while dragging mouse to snap on every next 0,5cm or 1cm (for example) instead of smooth dragging.
What code can I use to obtain such a behavior?
Push/pull (or drag) with increment ?
3 posts
• Page 1 of 1
Re: Push/pull (or drag) with increment ?
Here is a simple example of how I would do it.
3 posts
• Page 1 of 1
|
Who is online
Users browsing this forum: gianmarcooo3 and 6 guests