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
Last edited by pbman; 25-08-2008 at 03:34 PM.