Integrating 3D models with photography
Interested in integrating your 3D work with the real world? This might help
# 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.
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads