adding loop into parameters setting
I have a very simply script to adding point3 controller to attribute holder modifier. My task is that I need X number of zk´s and this X is selection.count number. But in parameters dont work any loop. So is there any possibility to adding new controler to def attributes in another solution?
I know that I need define somehow array zk´s of type point3 .. but I dont know exactly how. Or maybe my whole logic about this proble is wrong.
def=attributes MonkFace ( parameters param ( for i=1 to 3 do ( zk[i] type:#point3 ) ) ) custAttributes.add $.modifiers def