FBXExporterSetParam [arg] [value]
 
 
 

The setparam scripts set 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. See Animation for an explanation of this setting.
"ASCII" True or false. See Type for an explanation of this setting.
"AxisConversionMethod" "None", "Animation", or "Fbx_Root". See Axis conversion for an explanation of this setting.
"BakeAnimation" True or false. See Bake animation for an explanation of this setting.
"BakeFrameStart" Integer value. See Bake animation for an explanation of this setting.
"BakeFrameEnd" Integer value. See Bake animation for an explanation of this setting.
"BakeFrameStep" Integer value. See Bake animation for an explanation of this setting.
"BakeResampleAnimation" True or false. See Resample animation for an explanation of this setting.
"Cameras" True or false. See Cameras for an explanation of this setting.
"ColladaTriangulate" True or false. See Triangulate for an explanation of this setting.
"ColladaSingleMatrix" True or false. See Single matrix for an explanation of this setting.
"ColladaFrameRate" Float (in frames). See Triangulate for an explanation of this setting.
"Convert2Tiff" True or false. This converts non-TIFF-formatted texture images into TIFF format which makes them readable in other applications that do not support other image types.
"ConvertUnit" "mm" or "cm" or "dm" or "m" or "km" or "in" or "ft" or "mi" or "yd". See Scene units converted to: for an explanation of this setting.
"EmbedTextures" True or false. See Embed media for an explanation of this setting.
"FileVersion" "FBX201200" or FBX201100" or "FBX201000" or "FBX200900" or "FBX200611". See FBX version for an explanation of this setting.
"FilterKeyReducer" True or false. See Constant key reducer for an explanation of this setting.
"GeomAsBone" True or false. See Convert Geometry used as Bones for an explanation of this setting.
"GenerateLog" True or False. See Generate log file for an explanation of this setting.
"Lights" True or false. See Lights for an explanation of this setting.
"LoadExportPresetFile" "x" where x is the name of the preset file. See Export presets for an explanation of this setting.
"NormalsPerPoly" True or false. See Split per-vertex Normals for an explanation of this setting.
"PointCache" True or false. See Point cache file(s) for an explanation of this setting.
"PopSettings" This setting preserves the current state of the settings when you perform a One-Click operation. FBXExporterSetParam "PopSettings" loads all I / OSettings.
"Preserveinstances" True or false. See Preserve Instances for an explanation of this setting.
"PushSettings" This setting preserves the current state of the settings when you perform a One-Click operation. FBXExporterSetParam "PushSettings" saves all I / OSettings.
"Removesinglekeys" True or false. See Remove single keys for an explanation of this setting.
"Resampling" Float. See Unroll rotations for an explanation of this setting.
"ResetExport" Loads the Autodesk Media & Entertainment export preset.
"ScaleFactor" Float. See Scale Factor for an explanation of this setting.
"SelectionSet" Name of the selection set to use. See Point cache file(s) for an explanation of this setting.
"SelectionSetExport" True or false. See Selection Sets for an explanation of this setting.
"Shape" True or false. See "Morphs" in Deformations for an explanation of this setting.
"Skin" True or false. See "Skin" in Deformations for an explanation of this setting.
"ShowWarnings" True or false. See Show/Hide Warning Manager for an explanation of this setting.
"SmoothingGroups" True or false. See Smoothing Groups for an explanation of this setting.
"SmoothMeshExport" True or false. See TurboSmooth for an explanation of this setting.
"TangentSpaceExport" True or false. See Tangents and Binormals for an explanation of this setting.
"Triangulate" True or false. See Triangulate for an explanation of this setting.
"UpAxis" "Y" or "Z". See Axis conversion for an explanation of this setting.
"UseSceneName" True or false. See Use scene name for an explanation of this setting.

For example, to query the export camera’s state:

	FBXExporterGetParam "Cameras"

Export selected

A specific MAXscript exists for performing the export of only selected objects ("Export Selected"). Use the following

exportFile "<path>" #noPrompt selectedOnly:true

Where <path> is the location to where you want to export your object(s).