## CreateSubCharacterKeySet

### Introduced

v6.0

### Description

Creates a Sub-Character Key Set for a given Character Key Set or Sub-Character Key Set.
This new is populated with the parameters from the selection list, using the same rules as the CreateCharacterKeySet command.
Sub-character key sets are used to create hierarchical animation. When a character or sub-character key set is keyframed, all of the sub-character key sets it contains are also keyframed.

### Scripting Syntax

    oReturn = CreateSubCharacterKeySet( [CharacterKeySet], [InputObjs], [Name] );

### Return Value

Returns an XSICollection of the newly created properties.

### Parameters

Parameter | Type | Description
--- | --- | ---
CharacterKeySet | Object name | The parent character, or sub-character key set Default Value: The current character key set, as selected in the Animation Panel
InputObjs | Object names | The object(s) used to populate the character key set Default Value: Current selection
Name | String | Name for the new property set

### See Also

AddProxyParamToCharacterKeySet CreateCharacterKeySet DeleteCurrentCharacterKeySet GetAllCharacterKeySets GetCurrentCharacterKeySet InspectCurrentCharacterKeySet OpenAnimationEditorOnCurrentCharacterKeySet RemoveKeyOnCharacterKeySet SaveKeyOnCharacterKeySet SetCurrentCharacterKeySet