add_surface_material

Materials.add_surface_material(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
material_namestr

Name of the surface material.

emissivityfloat, optional

Emissivity value.

Returns
pyaedt.modules.SurfaceMaterial

References

>>> oDefinitionManager.AddSurfaceMaterial

Examples

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