GetCurrentCharacterKeySet

Introduced

v6.0

Description

Returns a CustomProperty containing the current character key set, if it exists. Character key sets are implemented as custom properties.

Scripting Syntax

oReturn = GetCurrentCharacterKeySet();

Return Value

Returns the CustomProperty or Nothing if there is no current Character Key Set

Examples

VBScript Example

Sub DumpCharKeySet

Dim oCharKeySet

Set oCharKeySet = GetCurrentCharacterKeySet

If (  oCharKeySet Is Nothing ) Then

LogMessage "No current Character Key Set..."

Else

LogMessage "Current Character Key Set : " & oCharKeySet

End If

End Sub

SetCurrentCharacterKeySet ""

DumpCharKeySet

CreateCharacterKeySet ActiveSceneRoot, "BodyKeySet"

DumpCharKeySet

CreateSubCharacterKeySet ,, "HandKeySet"

DumpCharKeySet

See Also

AddProxyParamToCharacterKeySet CreateCharacterKeySet CreateSubCharacterKeySet DeleteCurrentCharacterKeySet GetAllCharacterKeySets InspectCurrentCharacterKeySet OpenAnimationEditorOnCurrentCharacterKeySet RemoveKeyOnCharacterKeySet SaveKeyOnCharacterKeySet SetCurrentCharacterKeySet