glmExportCharacterGeometry

The glmExportCharacterGeoemtry command exports the asset geometry file of a gcha into gcg or fbx format.
glmExportCharacterGeometry [-characterFile string] [-outputFileGCG string] [-outputFileFBX string]

Flags

Long name (short name) Argument types Properties Description
-characterFile (-cf) string mandatory Full path of the input gcha character file 
-outputFileGCG (-gcg) string one of fbx or gcg flag must be present Full path for the produced gcg file, produced from from the gcha and meshes in the scene.
-outputFileFBX (-fbx) string one of fbx or gcg flag must be present Full path of the ​produced fbx file, produced from from the gcha and meshes in the scene.

Return Value

This command the file path of the exported Character Geometry File or nothing if the export failed

MEL Examples

glmExportCharacterGeometry -cf "c:/temp/example.gcha" -gcg "c:/temp/example.gcg";
// Result: the path of the exported character geometry file