FBX Export Dialog Access

 
 
 

The FbxExporterSetParam function provides access to the FBX Exporter dialog options.

For further details on the various options, please see the following topic in the 3ds Max Help:

Managing Scenes and Projects > Geometry File Formats > FBX Files: Data Sharing with Maya, MotionBuilder, Revit, Softimage, and Toxik/Composite > Scripting for the 3ds Max FBX plug-in

   

NoteThe FBX Export Plugin must be loaded in memory in order to set its properties. If it is not in memory, it can be loaded using pluginManager.loadClass FbxExporter

   

Methods:

<Value>FbxExporterGetParam <String>arg

This function expects a string as argument, specifying the option to get .

See the left column of the table below for available option.

   

FbxExporterSetParam <String>arg <Value>val

It expects a string as a first argument specifying the option to affect, with the second argument being the new value as described below:

   

Arg String Value
"Animation"

True or False.

"ASCII"

True or False.

"AxisConversionMethod"

"None", "Animation", or "Fbx_Root".

"BakeAnimation"

True or False.

"BakeFrameStart"

Integer value.

"BakeFrameEnd"

Integer value.

"BakeFrameStep"

Integer value.

"BakeResampleAnimation"

True or False.

"Cameras"

True or False.

"CAT2HIK"

True or False.

"ColladaTriangulate"

True or False.

"ColladaSingleMatrix"

True or False.

"ColladaFrameRate"

Float (in frames).

"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".

"EmbedTextures"

True or False.

"FileVersion"

"FBX201300" or "FBX201200" or FBX201100" or "FBX201000" or "FBX200900" or "FBX200611".

"FilterKeyReducer"

True or False.

"GeomAsBone"

True or False.

"GenerateLog"

True or False.

"Lights"

True or False.

"LoadExportPresetFile"

The file name of the preset file.

"NormalsPerPoly"

True or False.

"PointCache"

True or False.

"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.

"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.

"Resampling"

Float.

"ResetExport"

Loads the Autodesk Media & Entertainment export preset.

"ScaleFactor"

Float.

"SelectionSet"

Name of the selection set to use.

"SelectionSetExport"

True or False.

"Shape"

True or False.

"Skin"

True or False.

"ShowWarnings"

True or False.

"SmoothingGroups"

True or False.

"SmoothMeshExport"

True or False.

"SplitAnimationIntoTakes"

"takename" which is the name of the take to use, followed by "frameStart", "frameEnd" to define the interval.

Use "-c|-clear" to clear the accumulator.

NoteTake001 exists regardless of how many splits are defined. Do not set a "frameEnd" < "frameStart". If "frameStart" and "frameEnd" do not define an interval with keys the split function will not validate it. If no animation keys are in the range, a take is created with no keys.

"TangentSpaceExport"

True or False.

"Triangulate"

True or False.

"UpAxis"

"Y" or "Z".

"UseSceneName"

True or False.

FOR EXAMPLE:

 --to prevent the export of the cameras:
FBXExporterSetParam "Cameras" False