XM Magdalena 3D print, GGeorgy (3D)
LC #42 Pipers Alley

View Full Version : character nodes

12-01-2003, 04:16 AM
Is there any difference between a character setor a subcharacter set? If not, is there any way I can `ls` to find out if it is a root node?

I'm just looking for a list of the root character nodes in the scene.


12-01-2003, 09:13 AM
I think you can check if it a root character node by querying the parent (listRelatives)if the returned array is size zero, than it is a root character node, otherwise a subcharacter.
Maybe there is a smarter way but this should also work

12-01-2003, 09:55 AM
Basically there is no difference. Character sets hold either keyed attributes or other character sets. They're all top level plugs, which probably means they'll all return 0 parents, though I haven't tested it.

listConnections -type character characterPartition; will return all the top level sets.

12-01-2003, 03:04 PM
yeah, listen to that guy he knows his stuff.
next time I try stuff out before posting it : )

12-02-2003, 06:27 AM
Thanks! That's exactly what I was looking for. I woulda never thought to look there too.

Buexe> Whether you know the answer or not, I like your work.

CGTalk Moderation
01-16-2006, 08:00 PM
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.