Interface: XMLMaterial
 
 
 

Interfaces > Core Interfaces > XMLMaterial

 

   

Core Interfaces - Quick Navigation

The XMLMaterial Core Interface allows you to export a single material or an array of materials to XML format. Performs the same functions through MAXScript as the Material XML Exporter Utility which is not directly exposed.

   

Alias:

XmlMtlExporter

   

Properties:

XMLMaterial.bitmapURL : string : Read|Write   

Get/Set the bitmap URL as string

   

XMLMaterial.thumbnails : bool : Read|Write 

When set to True, thumbnails will be exported.

   

XMLMaterial.thumbnailURL : string : Read|Write 

Get/Set the URL of the thumbnails as string

   

XMLMaterial.catalogFormat : bool : Read|Write 

Enable/Disable catalog format

   

XMLMaterial.transformWithXSLT : bool : Read|Write 

Enable XSLT transform

   

XMLMaterial.transformURL : string : Read|Write 

Get/Set the transform URL

   

Methods:

<bool>XMLMaterial.export <material>mtl <filename>filename 

Export the specified material to the supplied file name.

Returns True on success, False otherwise.

   

<bool>XMLMaterial.exportArray <&material array>mtlArray <filename>filename 

mtlArray is In and Out parameter 

Export the specified array of material to the supplied file name.

Returns True on success, False otherwise.