Sets the specified argument for export where [arg] is a recognized export parameter and [value] is an appropriate value for the supported parameter. For example, to prevent the export of cameras:
FBXExporterSetParam “Cameras” false
FBXExporterSetParam returns “OK” if successful or ”unsupplied” if it is sent an unrecognized parameter.
FBXExporterSetParam returns “unsupplied” if the wrong number of arguments are passed.
FBXExporterSetParam recognizes the following parameter and values:
Name | Value |
---|---|
Animation | True or false |
AxisConversionMethod | “None”, “Animation”, or “Fbx_Root” |
BakeAnimation | True or false |
Bip2FBX | True or false |
Cameras | True or false |
ColladaTriangulate | True or false |
ColladaSingleMatrix | True or false |
ColladaFrameRate | Float (in frames) |
Convert2Tiff | True or false |
ConvertUnit | "mm" or "cm" or "dm" or "m" or "km" or "in" or "ft" or "yd" |
EmbedTextures | True or false |
FileVersion | "FBX200900" or "FBX200611" or "FBX200608" or "FBX200602_MB75" or "FBX200508_MB70" or "FBX60_MB60" or "FBX53_MB55" |
FilterKeyReducer | True or false |
ForceNormalsByControlPoint | True or false |
GeomAsBone | True or false |
Lights | True or false |
LoadImportPresetFile | “x” where x is the location of the preset file. |
NormalsPerPoly | True or false |
PointCache | True or false |
Resampling | Float |
ResetExport | No value |
ScaleFactor | Float |
SelectionSet | Name of the selection set to use |
Shape | True or false |
Skin | True or false |
ShowWarnings | True or false |
SmoothingGroups | True or False |
UpAxis | “Y” or “Z” |
For example, to query the export camera’s state:
FBXExporterGetParam “Cameras”