Introduced
7.0
Description
Imports the materials, shaders, texture layers and image clips including the associated user keywords from a Crosswalk file (dotXSI 6.0) into a specifed material library.
Scripting Syntax
CrosswalkImportMatLib( Filename, [MatLib] )
Parameters
|
Parameter |
Type |
Description |
|
Filename |
The path and filename of the file to import. |
|
|
MatLib |
The script name of the destination material library to import into. If not specified, a new material library will be created. Note that the name of this library will be changed to the name of the library in the imported file. |
Return Value
CStatus::OK if successful, and an error code otherwise.
Examples
JScript Example
/* For a JScript example showing how to export/import a material library using Crosswalk, see the CrosswalkExportMatLib command. */
See Also
Autodesk Softimage v7.5