Notifications
Clear all

[Closed] select first vertex

Can some one show me how to select the first vertex of a spline please

kind regards

Nebille

I know its a dim reqeust but my brain has turned to mush today.

1 Reply

From the maxScript reference file:

[i]setKnotSelection <shape> <spline_index_integer> <knot_index_array> [keep: <boolean> ]

Selects the knots specified by <knot_index_array> in the specified shape spline. <knot_index_array> is an array of integers specifying the knot indices. Knots already selected are de-selected unless keep:true is specified.[/i]

So something like, setKnotSelection $Shape01 1 1, should do it.