This 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:
.bitmapURL : string : Read|Write
Get/Set the bitmap URL as string
.thumbnails : bool : Read|Write
When set to True, thumbnails will be exported.
.thumbnailURL : string : Read|Write
Get/Set the URL of the thumbnails as string
.catalogFormat : bool : Read|Write
Enable/Disable catalog format
.transformWithXSLT : bool : Read|Write
Enable XSLT transform
.transformURL : string : Read|Write
Get/Set the transform URL
Methods:
<bool>export <material>mtl <filename>filename
Export the specified material to the supplied file name. Returns True on success, False otherwise.
<bool>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.