/
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

NameFlag argumentsArgument typeExclusive toComments
stripCharacterNameFromChildren1booleanRemove the namespace name from the FBX node name, eg Actor_1:pelvis becomes pelvis.
removeNamespaces1booleanIf 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


© Copyright Vicon Motion Systems. All rights reserved.

Vicon trademarks