You can script the export and import of Crosswalk files. The procedure is different depending on whether you are using dotXSI and COLLADA or FBX.
You can script the export and import of dotXSI and COLLADA files using the ExportCrosswalk and ImportCrosswalk commands. To create the options, you use CreateExportCrosswalkOptions and CreateImportCrosswalkOptions. You can use these commands to run batch scripts in one of the compatible scripting languages (VBScript, JScript, PerlScript, and Python ActiveX)
Crosswalk for Softimage includes the Softimage FBX plugin. You can script the export and import of FBX files using the FBX batch processing commands.
The FBX import and export dialog box options are not directly available from the command line but, since they are stored, you can get and set them using their equivalent batch processing commands. You can use these commands to run batch scripts in one of the compatible scripting languages (VBScript, JScript, PerlScript, and Python ActiveX).
Command |
Description |
---|---|
FBXExport |
Exports an FBX file. See Exporting FBX. |
FBXExportAutomaticUnit |
|
FBXExportUnit |
|
FBXExportSelection |
|
FBXExportGeometries |
|
FBXExportShapes |
|
FBXExportSkins |
|
FBXExportCameras |
|
FBXExportLights |
|
FBXExportEmbedMedias |
|
FBXExportConvert2Tif |
No longer supported. |
FBXExportAnimation |
|
FBXExportFrameRate |
Sets the resampling rate. If not specified, the scene's frame rate is used. |
FBXExportKeepXSIEffectors |
|
FBXExportDeformerAsSkeleton |
Ensures the proper tagging and export of any supported object that is being used as an envelope deformer. Enables FBX to XNA compatibility. See Export FBX Options Dialog Box. |
FBXExportCacheFile |
|
FBXExportGroupAsCache |
|
FBXImport |
Imports an FBX file. See Importing FBX. |
FBXImportAutomaticUnit |
|
FBXImportUnit |
|
FBXImportMode |
See Load Options. |
FBXImportCameras |
|
FBXImportLights |
|
FBXImportAnimation |
|
FBXImportProtectExprDrivenFC |
Keeps any expression-driven animation when merging back your scene. |
FBXImportSkeletonsAsNulls |
|
FBXImportKeepXSIEffectors |
|
FBXImportSetEnvelopes |
|
FBXImportForceNormEnvelope |
|
FBXImportNamespaceReplacement |
Sets the namespace string to be replaced during import. |
FBXImportCacheFile |
|
FBXImportFillTimeline |
|
FBXImportFrameRate |
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License