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. See Fill timeline for an explanation of this setting.
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 Bone creation 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 Groups for 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. When you specify the take, use 0 to indicate no animation. (This is the default value of this property.) Use 1 to specify the first take in the FBX file, 2 to indicate the second take, and so on. 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