View Single Post
# 2 22-10-2006 , 12:13 AM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
If I understand properly then you can do something like this:

float $timeArray[] = {};
float $valueArray[] = {};

int $nextIndex = size($timeArray);
float $currentTime = `currentTime -q`;

string $myObject = "pCube1";

$timeArray[$nextIndex] = $currentTime;
$valueArray[$nextIndex] = `getAttr -t $currentTime ($myObject + ".tx")`;


user added image
A


Technical Director - Framestore

Currently working on: Your Highness

IMDB