MaterialDef#
- class ansys.edb.core.definition.material_def.MaterialDef(msg)#
Represents a material definition.
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 all properties of the material.
Get the anisotropic thermal modifier of a given material definition.
MaterialDef.get_dimensions
(material_property_id)Get dimensions of a given material definition.
MaterialDef.get_property
(material_property)Set a property value of the material.
Get the thermal modifier of a given material definition.
MaterialDef.remove_property
(material_property)Remove the value from a material property.
Set the anisotropic thermal modifier of a given material definition.
MaterialDef.set_property
(material_property, ...)Set a material property for a given component.
Set the thermal modifier of the material definition.
Attributes
DefinitionObjType
: Type of the material definition.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.