View Single Post
Old 20-09-2005, 09:54 AM   #2
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Thanks: 0
Thanked 5 Times in 5 Posts
Default

it's an attribute so you need to use the getAttr command:

float $ty = `getAttr pCube1.ty`;

that will do it.

to set it use the setAttr command

setAttr pCube1.ty 10;




A
__________________
Technical Director - Framestore

Currently working on: Your Highness

IMDB
Alan is offline   Reply With Quote