ScriptSpot

Forum topic · General Scripting

Make vertex first (spline)

By koberko · 2011-06-16

Description

How can I make some vertex to be first one in spline?
I have try to use splineOps.makeFirst but I'm not able to get what I want... Help please; It's kind of urgent :(

P.S. I will appreciate if you can write entire code for getting some vertex first (i have tight deadline, and I need it fast). Thank you all in advanced...

Comments (1)

I got it...

koberko · 2011-06-16

I manage to get solution for this:
(
subObjectLevel = 1
vert_index = 13
setKnotSelection $ 1 #(vert_index)
getKnotSelection $ 1
splineOps.makeFirst $
updateShape $
)