MaterialDef#
- class ansys.edb.core.definition.material_def.MaterialDef(msg)#
 Represents a material and all its properties.
Methods
MaterialDef.create(database, name, **kwargs)Create a material definition in a given database.
Delete the material definition.
MaterialDef.find_by_name(database, name)Find a material definition by name in a given database.
Get the thermal modifier of an anisotropic material property.
MaterialDef.get_dimensions(material_property_id)Get the dimensions of the tensor of a material property.
MaterialDef.get_property(material_property)Get a material property value.
Get the thermal modifier of a material property.
MaterialDef.remove_property(material_property)Remove a property from the material definition.
Set the thermal modifier of an anisotropic material property.
MaterialDef.set_property(material_property, ...)Set a material property value.
Set the thermal modifier of the material property.
Attributes
listofMaterialProperty: All properties defined in the material definition.DefinitionObjType: Definition object type.DielectricMaterialModel: Dielectric material model of the material definition.int: Unique ID of the EDB object.bool: Flag indicating if the object exists in the database.EDBObjMessage: Protobuf message that represents the object's ID.str: Name of the material definition.