CreateCharacterKeySet

Introduced

v6.0

Description

Creates a Character Key Set on the parent model of the selected object, or the scene root if the selected object has no parent, and populates it with all the keyable parameters found for each object in the selection. If a character key set already exists on the model, a new one is created and the existing one is not modified.

A single new character key set per model is created. Therefore, if the current selected includes multiple objects sharing a model, all of their keyable parameters will be added to a single new character key set under that model. If parameters are marked, only these parameters will be added to the character key set.

Scripting Syntax

oReturn = CreateCharacterKeySet( [InputObjs], [Name] );

Return Value

Returns an XSICollection of the newly created properties.

Parameters

Parameter Type Description
InputObjs Object names The object(s) used to populate the character key set
Name String Name for the new property set

See Also

AddProxyParamToCharacterKeySet CreateCharacterKeySet CreateSubCharacterKeySet DeleteCurrentCharacterKeySet GetAllCharacterKeySets GetCurrentCharacterKeySet InspectCurrentCharacterKeySet OpenAnimationEditorOnCurrentCharacterKeySet RemoveKeyOnCharacterKeySet SaveKeyOnCharacterKeySet SetCurrentCharacterKeySet