View Single Post
# 1 24-08-2008 , 06:24 PM
pbman's Avatar
Subscriber
Join Date: Mar 2005
Location: London
Posts: 1,135

duplicate procedure

im writing a script with a procedure to make 2 curves,
once i run it duplicate stops working cany anyone see y?

cheers
Code:
intField -min 0 -v 1 -s 1 "myValue"; 

proc duplicate()
{
	int $i=0;
	int $value = `intField -q -v myValue`;
	duplicate -rr; move -r 2 0 0; for ($i=0; $i<$value; ++$i) duplicate -rr -st;
}
button -l "Execute" -c "duplicate";
EDIT:::::FIXED it was the name of the procedure changed it and now it works fine


Now at SMU doing BSc 3D Computer Animation so its hard to get on here
My wire render tut https://forum.simplymaya.com/showthre...threadid=20973

Last edited by pbman; 25-08-2008 at 03:34 PM.