FBXExport

Introduced

v6.02

Categories

fbx|export

Description

Exports an FBX file. You can customize what information to export by running any of the FBXExport* commands before running this command. The available FBXExport* commands are listed in the See Also section on this page. To set options that don't have assciated FBXExport* command you can use FBXExport "option" to create the export options property page and use SetValue to modify it.

Note: The FBXExport* commands are the scripting equivalent of setting the same values for exporting FBX files through the UI (FBX Exporter dialog).

Scripting Syntax

oBoolean = FBXExport( FilePathName );

Return Value

Boolean value indicating whether command succeeded or failed.

Parameters

Parameter Type Description
FilePathName String Full path and filename of FBX file to export to.

Default Value: If not specified, a file browser pops up to specify the file to export.

Examples

Python Example

#
# This example demonstrates how to export an FBX file, 
# temporarily preserving XSI effectors
#
app = Application
# First get the old effects setting
oldEffPref = app.FBXExportKeepXSIEffectors()
# Now set up the export to preserve effectors
app.FBXExportKeepXSIEffectors( 1 )
# Export to FBX and then restore the original setting
app.FBXExport( "C:\\temp\\testing.fbx" )
app.FBXExportKeepXSIEffectors( oldEffPref )

See Also

FBXImport FBXExportAnimation FBXExportAscii FBXExportCameras FBXExportConvert2Tif FBXExportDeformerAsSkeleton FBXExportEmbedMedias FBXExportFrameRate FBXExportGeometries FBXExportHardEdges FBXExportKeepXSIEffectors FBXExportLights FBXExportSelection FBXExportShapes FBXExportSkins FBXExportUnit FBXExportAutomaticUnit