QUOTE(Naughty @ 11/16/05, 02:34 AM)
I'm always wary of using the PickWalk commands as there may be some weird heirarchy or something. If you want the transfoms of mesh shapes this is a good (and short) way to do it:
string $meshObjects[] = listRelatives("-f","-p",ls("-type","mesh","-l","-ni"));
which will return the transform names of meshes.
I've put in full DAG path flags and no intermediates too which you'll probably want.
you could add "-dag","-sl" too to make it work on the selected mesh objects only...
:nathaN
[snapback]219801[/snapback]
Thanks*3