exists_material#
- Materials.exists_material(material)#
Check if a material exists in AEDT or PyAEDT Definitions.
- Parameters:
- material
str
Name of the material. If the material exists and is not in the materials database, it is added to this database.
- material
- Returns:
ansys.aedt.core.modules.material.Material
Material object if present,
False
when failed.
References
>>> oDefinitionManager.GetProjectMaterialNames >>> oMaterialManager.GetData