General

Resizing by script

Started by amundsen on .

Sign in or create an account to join the conversation.

2 posts

Topic starter
Hello,

I have a series of MultiBall I want to resize on their height axis.

I am trying this script :
decl i, current,name;
for (i = 1;i < 27 ;i++) {
	name = 'MultiBall'+arraytostring({i});
	current = getattribute(name, 'rect');
   set(current,128,3);
	setattribute(name,'rect',current);
}
However it does not seem to work. What 's wrong ?