Make vertex first (spline)

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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
koberko's picture

I got it...

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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.