View Full Version : Character Set creation via mel

05 May 2006, 01:54 PM
I poted this a while back in the mel forum and got no responses - thought I might try again in this forum since its directly related to character setup:

in the mel command reference it states
// create a set which contains two sub characters
character -n parentCharacter character1 character2;

however this just gives an error:
// Error: No object matches name: character1 //

anyone know how to create subcharacter sets?

I was doing this:

setCurrentCharacters( { $charName } );
select -r R_pinky_SDK R_ring_SDK R_index_SDK R_Hand_SDK ;
doCreateSubcharacterArgList 2 { "R_Hand","0","0","1","1","0","0" };

but for some reason if I do multiple subs by repeating this code with different values the parents get messed up - eg, the L_hand was ending up parented under the Upper body

so I do this instead

character -n L_Hand;
character -add L_Hand -ev -es L_Hand_SDK L_pinky_SDK L_pointer_SDK L_thumb_SDK ;

but then I have to parent them - and get this error

parent L_Hand $charName;
// Warning: Cannot parent components or objects in the underworld. //
// Error: Not enough objects or values. //

you can no longer parent character sets in v7 to create sub character sets which is very annoying.

any help appreciated


CGTalk Moderation
05 May 2006, 01:54 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.