DeleteAllUnusedMaterials

Introduced

v4.0

Description

This command deletes all the materials in all the Material Libraries that are not currently used.

Scripting Syntax

DeleteAllUnusedMaterials();