PDA

View Full Version : select first vertex


nebille
02-17-2006, 12:58 PM
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.

JHaywood
02-17-2006, 04:45 PM
From the maxScript reference file:

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.

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

CGTalk Moderation
02-17-2006, 04:45 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.