View Single Post
# 4 22-03-2004 , 03:30 AM
dannyngan's Avatar
Registered User
Join Date: Dec 2002
Location: Seattle, WA
Posts: 1,154
You need to query the value from the floatField and then pass that value into your loop procedure. A couple of things to get you going in the right direction:

Querying the floatField's value and assigning it to a variable:

Code:
$frame = `floatfield -q -value fieldName`
Using the value in your loop procedure:

Code:
myShaveWriteProcedure($frame);
And declaring the procedure:

Code:
global proc myShaveWrite{$frame)()
{
   using $frame somehow...;
}
This might not be super accurate, but this, along with the MEL help files, should get you going in the right direction.


Danny Ngan
Animator | Amaze Entertainment
my website | my blog | my job