Stepped upon miauu example on scriptspot looking for a solution as undo command doesn't work. Filling activeKnotz array isn't necessary, getKnotSelection $ j is already the array of selected knots. theHold.Cancel()theHold.Begin() ns = numSplines $ convertToSplineShape $ for j = 1 to ns do ( k = getKnotSelection $ j for i…
Because that's not the way to append a variable to an array. activeSplinez = #()for j=1 to (numSplines $) do ( if ((getKnotSelection $ j).count >= 1) then (append activeSplinez j) )print activeSplinez