FloatField assignment

FloatField assignment

Anonymous
Not applicable
316 Views
1 Reply
Message 1 of 2

FloatField assignment

Anonymous
Not applicable
Hi everybody!

I want to add value from variable to FloatField.
But I do not know how to.
Can someone help me?
I need example code!

Thanks.

PS: Sorry for spelling mistakes
0 Likes
317 Views
1 Reply
Reply (1)
Message 2 of 2

lee.dunham
Collaborator
Collaborator
float $value = 9.25 ;
floatField -e -v $value "myFloatFieldName" ;

http://download.autodesk.com/global/docs/maya2013/en_us/Commands/floatField.html
0 Likes