Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

In mel is it possible to create a linear curve from selected vertices?

In mel is it possible to create a linear curve from selected vertices?

malcolm_341
Collaborator Collaborator
493 Views
2 Replies
Message 1 of 3

In mel is it possible to create a linear curve from selected vertices?

malcolm_341
Collaborator
Collaborator

Hi, I'd like to create a curve from selected vertices, the problem is Maya doesn't store the selection order for the vert array so the curve gets created with points in the wrong order and the curve gets wonky. Is there a solution for this, or is there a hack to get the vert array to sort in the order you selected it?

0 Likes
Accepted solutions (1)
494 Views
2 Replies
Replies (2)
Message 2 of 3

stephenkmann
Collaborator
Collaborator
Accepted solution

 Turn on "ordered selection" in your prefs and use the -os flag with your ls

 

 

0 Likes
Message 3 of 3

malcolm_341
Collaborator
Collaborator

Thanks a lot, that's what I needed.