add_surface_material#

Materials.add_surface_material(name, emissivity=None)[source]#

Add a surface material.

In AEDT, base properties are loaded from the XML database file amat.xml or from the emissivity.

Parameters:
namestr

Name of the surface material.

emissivityfloat, optional

Emissivity value.

Returns:
ansys.aedt.core.modules.SurfaceMaterial

References

>>> oDefinitionManager.AddSurfaceMaterial

Examples

>>> from ansys.aedt.core import Hfss
>>> hfss = Hfss()
>>> mat = hfss.materials.add_surface_material("Steel",0.85)
>>> print(mat.emissivity.value)