duplicate_surface_material#
- Materials.duplicate_surface_material(material, name)[source]#
Duplicate a surface material.
- Parameters:
- Returns:
ansys.aedt.core.modules.SurfaceMaterial
References
>>> oDefinitionManager.AddSurfaceMaterial
Examples
>>> from ansys.aedt.core import Hfss >>> hfss = Hfss() >>> hfss.materials.add_surface_material("MyMaterial") >>> hfss.materials.duplicate_surface_material("MyMaterial","MyMaterial2")