MaterialProperty
#
- class ansys.geometry.core.materials.property.MaterialProperty(type: MaterialPropertyType | str, name: str, quantity: pint.Quantity | ansys.geometry.core.typing.Real)#
Provides the data structure for a material property.
- Parameters:
- type
MaterialPropertyType
|str
Type of the material property. If the type is a string, it must be a valid material property type - though it might not be supported by the MaterialPropertyType enum.
- name: str
Material property name.
- quantity: ~pint.Quantity | Real
Value and unit in case of a supported Quantity. If the type is not supported, it must be a Real value (float or integer).
- type
Overview#
Import detail#
from ansys.geometry.core.materials.property import MaterialProperty
Property detail#
- property MaterialProperty.type: MaterialPropertyType | str#
Material property ID.
If the type is not supported, it will be a string.
- property MaterialProperty.quantity: pint.Quantity | ansys.geometry.core.typing.Real#
Material property quantity and unit.
If the type is not supported, it will be a Real value (float or integer).