is_conductor#
- Material.is_conductor(threshold: float = 100000) bool#
Check if the material is a conductor.
- Parameters:
- threshold
float,optional Threshold to define if a material is a conductor. The default is
100000. If the conductivity is equal to or greater than the threshold, the material is considered a conductor.
- threshold
- Returns:
- bool
Truewhen the material is a conductor,Falseotherwise.
Examples
>>> from ansys.aedt.core.modules.material import Material >>> obj = Material() >>> obj.is_conductor(threshold=1.0)