FBXImport

Introduced

6.02

Description

Imports an FBX file. You can customize what information to import by running any of the FBXImport* commands before running this command. The available FBXImport* commands are listed in the See Also section on this page.

Note: The FBXImport* commands are the scripting equivalent of setting the same values for importing FBX files through the UI (FBX Importer dialog) with the exception of the FBXImportNamespaceReplacement command.

Scripting Syntax

FBXImport( FilePathName, [TakeNb] )

Parameters

Parameter

Type

Description

FilePathName

String

Full path and filename of FBX file to import.

Default Value: If not specified, a file browser pops up to pick the file to import.

TakeNb

Long

Number of the take to be imported. Specifying TakeID "0" is the equivalent of specifying No Animation - it loads the last take in the file. Any number greater than or equal to the number of takes in the file does not load the animation.

Default Value: -1

Return Value

Boolean value indicating whether command succeeded or failed.

See Also

FBXExport

FBXImportAnimation

FBXImportCameras

FBXImportForceNormEnvelope

FBXImportKeepXSIEffectors

FBXImportLights

FBXImportMode

FBXImportNamespaceReplacement

FBXImportProtectExprDrivenFC

FBXImportSetEnvelopes

FBXImportSkeletonsAsNulls

FBXImportUnit

FBXImportAutomaticUnit

Importing FBX

 

 

Examples

• See FBXImport.1.js

• See FBXImport.2.vbs



Autodesk Softimage 2011