MAXScript Tools and Interaction with 3ds Max > Interacting with the 3ds Max User Interface > FBX Import and Export Dialog >

# FBX Import Dialog Access

The following functions provide access to the FBX Importer 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 Importer Plugin must be loaded in memory in order to get and set its properties. If it is not in memory, it can be loaded using pluginManager.loadClass FbxImporter

Methods:

    <Value>FbxImporterGetParam <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.

    FbxImporterSetParam <String>arg <Value>val

This function 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.
"AxisConversion" | True or False.
"BakeAnimationLayers" | True or False.
"Cameras" | True or False.
"ConvertUnit" | "mm" or "cm" or "dm" or "m" or "km" or "in" or "ft" or "yd".
"FillTimeline" | True or False.
"FilterKeyReducer" | True or False.
"FilterKeySync" | True or False.
"GenerateLog" | True or False.
"ImportBoneAsDummy" | True or False.
"KeepFrameRate" | True or False.
"Lights" | True or False.
"LoadImportPresetFile" | The location of the preset file as String.
"Markers" | True or False.
"Mode" | #create (Add to new scene) #exmerge (Exclusive Merge - Add and Update Animation) #merge (Merge, Update animation).
"PopSettings" | This setting preserves the current state of the settings when you perform a One-Click operation. This setting loads all settings saved by FBXImporterSetParam "PushSettings" (see below).
"PushSettings" | This setting preserves the current state of the settings when you perform a One-Click operation. This setting saves all I/O settings
"PointCache" | True or False.
"Resampling" | Float.
"ResetImport" | Restores factory defaults. If ResetImport is called without argument for: 3DS Max: Loads the Autodesk Media & Entertainment import preset. 3DS Design: Loads the Autodesk Architectural (Revit) import preset Using the file name only as the argument: If we pass "Autodesk Media & Entertainment.fbximportpreset" or "Autodesk Architectural (Revit) .fbximportpreset", it searches the factory preset directory to load the preset file. Use this command to load a factory preset without knowing the directory. NoteThis command is used by the OneClick functionality.
"ScaleConversion" | True or False.
"ScaleFactor" | Float.
"Shape" | True or False.
"Skin" | True or False.
"SmoothingGroups" | True or False.
"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.
"UpAxis" | "Y" or "Z".

FOR EXAMPLE:
     --To import an fbx file using the 'Add to new scene' mode, --the skin modifier but preventing the loading of animation:
    FBXImporterSetParam "Mode" #create
    FBXImporterSetParam "Skin" true
    FBXImporterSetParam "Animation" false

#### See Also

- FBX Export Dialog Access

- Import and Export Filters