Clean_MultiMaterial : UtilityPlugin

The MultiMaterial Clean Utility cleans unused submaterials in scene Multi-Materials.

Constructor:

Class instances not creatable by MAXScript

Alias:

MMClean 

Clean_MultiMaterial Interface:

Interface: MMClean 

Methods:

findAll <&material array>mtlsFound 
mtlsFound is Out parameter 

Collects all multi-materials with unused sub-materials, stores them in MtlsFound array

<boolean>fix <material array>mtls prompt:<boolean>
       prompt default value: true

Removes unused sub-materials from submitted multi-materials array. if prompt=true, dialog shows up.

<boolean>fixAll prompt:<boolean>
       prompt default value: true

Removes all unused sub-materials from scene multi-materials. if prompt=true, dialog shows up.

Clean_MultiMaterial Interfaces:

Interface: MMCleanActions 

Methods:

CleanMaterailsAll () -- Action Interface 

CUI member

Actions:

Category: MultiMaterial_Clean_Actions; Action: Clean__MultiMaterial; Shortcut: -- none defined --