Skip to main content

system.mes.material.createMaterialClassesForPath

Description

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

Permissions

This method requires the MATERIAL.WRITE.SAVE permission.

Syntax

system.mes.material.createMaterialClassesForPath(path)

Parameters

ParameterTypeNullableDescription
pathStringFalseThe 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')