delete_component#
- EmitSchematic.delete_component(name: str)#
Delete a component from the schematic.
- Parameters:
- name
str Name of the component.
- name
- Raises:
RuntimeErrorIf the deletion fails.
Examples
>>> from ansys.aedt.core import Emit >>> app = Emit() >>> node = app.schematic.create_component("Antenna") >>> app.schematic.delete_component(node.name)