PDA

View Full Version : Gettin the name of the object's shape?


The Time Serpent
01-22-2004, 12:40 AM
im not so sure how i can get the name of the object's shape, i couldnt find anythin about that in the "ls" command, so i would be grateful if anyone would suggest something

MDurante
01-22-2004, 01:15 AM
Something like this:

string $tmp[] = `listRelatives -s $some_node`;
string $some_node_shape = $tmp[0];

Normally there's only one shape node, but it depends what you're doing...

- Matthew Durante

The Time Serpent
01-22-2004, 01:38 AM
thanks thats exactly what i was lookin for :beer:

CGTalk Moderation
01-17-2006, 06:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.