Getting the full path of an object (DAG node)

Hi,

let's say I have traversed a hierarchy of bones and have the name of the joints stored in some place.

do you know an easy way to get a full path of a maya object. In other words, let's say I have a "joint3". Do you know if there is a command that I can get its full path? Like:

command joint3

and maya returns me

joint1|joint2|joint3

does it make sense?

thx.

tchau,
Gustavo.

Try:

ls -l joint3;
If there are multiple nodes named "joint3", you'll get both (string[]).

  • Matthew Durante