ReadMaterialValue (IMaterial)

Reads the value of a single property or attribute of a specific material resource.

Note: In the Edit Method dialog box, click Next to add class definitions to the call method. This returns only the parameters you choose from the class.
InputsData TypeDescription
Material AddressDirectoryResource

Specifies the material resource to read.

In the Configure Method dialog box, click Next to select a resource. Otherwise, in the Inputs section of the activity configuration panel, click the ellipsis button to select a resource.

propertyNameStringSpecifies the property and/or attribute names to return.

The format for a property is: propertyname.

The format for a property and attribute is: propertyname.attribute.

Use a comma to separate each propertyName you want to retrieve; for example, propertyname1, propertyname2.attribute1, propertyname3.attribute1.

OutputsDescription
DataValue Returns all data about the specified property and/or attribute for the selected resource.