Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 653 Bytes

File metadata and controls

27 lines (21 loc) · 653 Bytes

ForEachMaterial

Description

Enumerate the materials in the current file.

PROCEDURE ForEachMaterial(
				onlyUsed : BOOLEAN;
				callback : PROCEDURE);
def vs.ForEachMaterial(onlyUsed, callback):
    return None

Parameters

Name Type Description
onlyUsed BOOLEAN List only materials that are used in the current file.
callback PROCEDURE Callback to be executed for each material in the file, or for each material that is used, depending on the 'used' parameter.

Version

Availability: from Vectorworks 2021

Category