View Full Version : character nodes
Doogie 12-01-2003, 03: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.
thx
|
|
Buexe
12-01-2003, 08: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
cheers
buexe
Hi,
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.
Buexe
12-01-2003, 02:04 PM
yeah, listen to that guy he knows his stuff.
next time I try stuff out before posting it : )
cheers
buexe
Doogie
12-02-2003, 05: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, 07: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.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.