remove_material#
- Materials.remove_material(material, library='Project')[source]#
Remove a material.
- Parameters:
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oDefinitionManager.RemoveMaterial
Examples
>>> from ansys.aedt.core import Hfss >>> hfss = Hfss() >>> hfss.materials.add_material("MyMaterial") >>> hfss.materials.remove_material("MyMaterial")