delete#

UserDefinedComponent.delete()#

Delete the object. The project must be saved after the operation to update the list of names for user-defined components.

References

>>> oEditor.Delete

Examples

>>> from ansys.aedt.core import hfss
>>> hfss = Hfss()
>>> hfss.modeler["UDM"].delete()
>>> hfss.save_project()
>>> hfss._project_dictionary = None
>>> udc = hfss.modeler.user_defined_component_names