FBXImporterSetParam [arg] [value]
 
 
 

The setparam script sets the specified argument for import where [arg] is a recognized import parameter and [value] is an appropriate value for the supported parameter.

FBXImporterSetParam recognizes the following parameter and values:

Name Value
Animation True or false. See Animation for an explanation of this setting.
AxisConversion True or false. See Axis conversion for an explanation of this setting.
BakeAnimationLayers True or false. See Bake animation layers for an explanation of this setting.
Cameras True or false. See Cameras for an explanation of this setting.
ConvertUnit “mm” or “cm” or “dm” or “m” or “km” or “in” or “ft” or “yd”. See File units converted to: for an explanation of this setting.
FillTimeline True or false. Activate this option when you want to update the application Timeline by the animation range in the incoming FBX file. “Animation range” refers to the first and last keys of animation contained in the file.
FilterKeyReducer True or false. See Constant key reducer for an explanation of this setting.
FilterKeySync True or false. See Key Reducer for an explanation of this setting.
GenerateLog True or False. See Generate log data for an explanation of this setting.
ImportBoneAsDummy True or false. See Bones for an explanation of this setting.
KeepFrameRate True or false.
Lights True or false. See Lights for an explanation of this setting.
LoadImportPresetFile “x” where x is the location of the preset file. See Import presets for an explanation of this setting.
Markers True or false. See Optical markers for an explanation of this setting.
Mode #create (Add to scene)#exmerge (Update scene elements)#merge (Add and Update scene elements). See File content for an explanation of this setting.
PointCache True or false. See Point cache file(s) for an explanation of this setting.
Resampling Float.
ResetImport Restores factory defaults.
ScaleConversion True or false. See Units for an explanation of this setting.
ScaleFactor Float. See Scale Factor for an explanation of this setting.
Shape True or false. See Deformations for an explanation of this setting.
Skin True or false. See Deformations for an explanation of this setting.
SmoothingGroups True or false. See Smoothing groupsfor an explanation of this setting.
TakeCount This parameter is only available for the “get” function.
TakeIndex An integer number from 1 to the number of takes in the FBX file. This parameter is only available for setting. See Animation Take for an explanation of this setting.
UpAxis “Y” or “Z”. See Axis conversion for an explanation of this setting.

For example, to import an FBX file using the Add and Update scene elements mode and the skin modifier, but without loading animation FCurves:

	FBXImporterSetParam “Mode” #merge
	FBXImporterSetParam “Skin” true
	FBXImporterSetParam “Animation” false