AreMaterialPropertiesEqual

Checks whether named material compared to added material data have equivalent major properties.

UI Access None.
Parameters
Name Type Description
material_data <string> This will be the same format as the AddMaterial() input parameter, material_data. For example, material_data can be something like this.["NAME:Mold_Material", "CoordinateSystemType:=", "Cartesian", "BulkOrSurfaceType:=", 1, ["NAME:PhysicsTypes", "set:=", ["Thermal"] ], "thermal_conductivity:=", "0.8", "mass_density:=", "1980", "specific_heat:=", "960"].

<MaterialName>

<String>

Name of the material to compare with material database

Return Value

Boolean:

  • True – named materials have equivalent major properties.
  • False – named materials do not have equivalent major properties.

 

Python Syntax

AreMaterialPropetiesEqual(<material_data>, '<MaterialName>')

Python Example

oDefinitionManager.AreMaterialPropertiesEqual(material_data, 'Mold_Material')