Scripting Crosswalk for Softimage
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)
Exporting
CreateExportCrosswalkOptions , "ExportCrosswalkOptions" SetValue "ExportCrosswalkOptions.Filename", "C:/temp/test" SetValue "ExportCrosswalkOptions.Format", 3 ExportCrosswalk "ExportCrosswalkOptions"
Importing
CreateImportCrosswalkOptions , "ImportCrosswalkOptions" SetValue "ImportCrosswalkOptions.Filename", "C:/temp/test.xsi" ImportCrosswalk "ImportCrosswalkOptions"
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 |
|
Exports an FBX file. See Exporting FBX. |
|
|
See Automatic. |
|
|
See File units converted to... |
|
|
See Selection Only. |
|
|
See Geometry. |
|
|
See Shapes. |
|
|
See Skin. |
|
|
See Cameras. |
|
|
See Lights. |
|
|
See Embed Textures. |
|
|
See Convert to TIFF. |
|
|
See Export Animation. |
|
|
See FPS. |
|
|
See Keep XSI effectors. |
|
|
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 Envelope Deformer as Skeleton. |
|
|
Imports an FBX file. See Importing FBX. |
|
|
See Automatic. |
|
|
See File units converted to... |
|
|
See Load Options. |
|
|
See Cameras. |
|
|
See Lights. |
|
|
See Import animation. |
|
|
See Keep XSI effectors. |
|
|
See Set envelopes. |
|
|
Sets the namespace string to be replaced during import. |
Autodesk Crosswalk v5.0