Hi all.
I have a custom with an attribute that is an array of ints.
When I try to get the information using MEL all of the elements come back as 0.
The following mel commands indicate the following:
getattr -type $node.pv returns TdataCompound
getAttr -size $node.pv returns 42 (which is correct)
However, when I do this:
float $pv[] = getAttr $node.pv
The size of $pv is 42, but all of the elements are 0.
I am trying to access individual elements as follows:
$pv[$i] where $i is an index.
Also interesting, the attribute is defined as an array of ints but if I declare $pv as an int array I get an error saying it has to be a float array.
Thanks for the help.
Todd