Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5745

Pick and Drag with Python?

$
0
0

@Jess wrote:

Hi all, @stevebaer,

is there a way to simulate control point dragging with Python?
Means picking a (temporary) point and move it to a new location with a single mouse click?

What I’m doing right now is adding “control points” as point objects to the document, then the user has to select a point and click again for the new location (usually constrained to some geometry). Works fine, but takes two mouse clicks.

I’d prefer a way to make it feel like the usual Rhino behavior but I don’t see a way how to do it.
Am I’m missing something?

Thanks for ideas!
Jess

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5745

Trending Articles