FindMaterialDefinitions (IMaterial)

Finds all of the material definitions that exactly match the defined parameter names and values.

The material properties you search for include those properties belonging to material definitions and classes associated with material definitions.

When you configure the search parameters, keep the following in mind:
  • You can use empty strings as parameter values; however, null values are not allowed.
  • You can enter a maximum of 10 parameters in each field.
  • You must enter the same number of name and value parameters.
  • Boolean values must be entered as 1 to represent True or Yes, or 0 to represent False or No.
  • DateTime values must be in UTC time zone, with the following format: yyyy-mm-dd hh:mi:ss.
  • The search returns a maximum of 5,000 results.
PropertyValueDescription
Parameter namesString[]Specifies the parameter names to use as search criteria. Click the ellipsis button to open the String Collection Editor and enter the parameter names.
Parameter valuesString[]Specifies the parameter values to use as search criteria. Click the ellipsis button to open the String Collection Editor and enter the parameter values.

OutputsDescription
String[] Returns an array of material definition IDs that exactly match the defined parameter names and values.