/
fbxImportOptions
fbxImportOptions
Description
Sets the FBX import options for the next time you import an FBX file.
Functional area
File handling
Command syntax
Syntax
fbxImportOptions [-stripCharacterNameFromChildren boolean] [-removeNamespaces boolean] [-upAxis string] [-asSolving boolean] [-importToCurrentSubject boolean] |
Arguments
None
Flags
Name | Flag arguments | Argument type | Comments |
---|---|---|---|
stripCharacterNameFromChildren | 1 | boolean | Remove the namespace name from the FBX node name, eg Actor_1:pelvis becomes pelvis. |
removeNamespaces | 1 | boolean | If not selected,Shogun retains the colons in the FBX module names. |
upAxis | string | ||
asSolving | boolean | ||
importToCurrentSubject | boolean | Enables an FBX to be imported into the current subject hierarchy as a retargeting setup. |
Return value
void
Examples
// Remove namesspace from node names, for example, //actor_1:pelvis becomes pelvis fbxImportOptions -stripCharacterNameFromChildren on; // With a SolvedSubject.vdf loaded, the following // script results in the skeleton in the FBX parenting to // a Retarget object under the _1 subject hierarchy. // This can be seen in the Hierarchy view. fbxImportOptions -importToCurrentSubject true; loadFile -importType "curClipCreateNew" "C:/MOCAP/ViconTest.fbx"; fbxImportOptions -importToCurrentSubject false;
Additional information
Related commands
, multiple selections available,