Interface: XMLMaterial

Interfaces > Core Interfaces > XMLMaterial

 

   

Core Interfaces - Quick Navigation

REMOVED in 3ds Max 2015:

The XMLMaterial Core Interface allowed the export of a single material or an array of materials to XML format.

It performed the same functions through MAXScript as the Material XML Exporter Utility which was not directly exposed and was also removed from 3ds Max 2015.

   

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.