Skip to main content

system.mes.material.createMaterialClassesForPath

Creates Material Classes objects for each name in the specified path if they do not already exist, setting their respective parents.

Syntax

system.mes.material.createMaterialClassesForPath(path)

Parameters

ParameterTypeDescription
pathStringThe path where each material class name is the parent of the next.

Returns

No response is returned.

Code Examples

# Create material classes in the specified path if they do not already exist
system.mes.material.createMaterialClassesForPath('RAW')