updateShape $max modify modesubobjectLevel = 1splinecount=numSplines $for i = 1 to splinecount do( numbervet = (numSegments $ i)+1 if isClosed $ i then continue else setKnotSelection $ i #(1,numbervet)) updateShape $