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