RemoveMaterial

Removes a material from a library.

UI Access Remove Material(s) command in the material editor
Parameters
Name Type Description
<MaterialName> String Name of the material to be removed.

<IsProjectMaterial>

Boolean

If True, HFSS assumes the material is a project material. The last two parameters will be ignored.

If False, the material is not a project material.

<LibraryName> String Name of the user or personal library where the material resides.
<LibraryLocation> String Location of library. Valid options:"UserLib" or "PersonalLib".
Return Value None.

 

Python Syntax

RemoveMaterial (<MaterialName>, <IsProjectMaterial>,

<LibraryName>, <LibraryLocation>)

Python Example

oDefinitionManager.RemoveMaterial ([

"Material1", false, "mo0907","UserLib"])