glmExportCharacter

The glmExportCharacter command allows to export a gcha file from a root joint.
string[] glmExportCharacter [-characterFile string] [-rootJointName string] 

Flags

Long name (short name) Argument types Properties Description
-characterFile (-cf) string mandatory Name of the character file to export (example : c:/temp/myCharacter.gcha)
-rootJointName(-rjn) string mandatory Name of the root joint to build the character to export. Information is extracted from this root joint, its children and its linked meshes (in hierarchy or via skinCluster). Meshes are configured but not that the asset file is NOT exported by this command.

Return Value

This command returns the list of mesh names found, that are detected as part of the character.

MEL Examples

glmExportCharacter -cf "c:/temp/example.gcha" -rjn "Reference";
// Result: the list of meshes influenced by Reference or its children