Interfaces > Core Interfaces > XMLMaterial |
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.
Get/Set the bitmap URL as string
When set to True, thumbnails will be exported.
Get/Set the URL of the thumbnails as string
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.