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