Version: 
Back to list

Material :: findMaterialsByProperty

Synopsis

   Returns all materials which match a given property value

GUI Dialog

   

Script function

   material.findMaterialsByProperty(propertyName, propertyValue) -> materials

Parameters

   propertyName (String) : Name of the property to match
   propertyValue (Regex) : Regular expression to match for the property value

Return value

   materials (MaterialList) : Materials matching the property value