system.mes.material.getPropertiesForMaterialClass
Description
Retrieves all Material Properties records for a given material class.
Syntax
system.mes.material.getPropertiesForMaterialClass(idOrPath)
Parameters
Parameter | Type | Description |
---|---|---|
idOrPath | String | The ULID or path of the material class to retrieve. |
Returns
Returns a list of JSON objects representing all material properties for a given material class.
Code Examples
# Retrieve all material properties for a given material class
properties = system.mes.material.getPropertiesForMaterialClass('RAW')
# Output the material properties
print(properties)