View Single Post
20-09-2005, 08:54 AM   #2
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
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
  Reply with quote