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

Change curve seam while selecting curves

$
0
0

@siemen wrote:

I’ve got a script where the user selects curves one by one. What I’d like to do is change the Curve seam to the point closest to where the user clicked to select that curve.

Is there a way to get the location of where you clicked while slecting an object using GetObject?

As an alternative I was thinking of using GetPoint instead and checking which Curve is closest to that point but then I’d have to loop through all curves in the document and that sounds like it quickly might get slow? This also sounds like it requires some extra work to get the same workflow and feedback as you get with selecting using GetObject.

Anybody did something like this before and can share their thoughts/experiences?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5751

Trending Articles