deactivate_rlc_component#
- Components.deactivate_rlc_component(component=None, create_circuit_port=False)[source]#
Deactivate RLC component with a possibility to convert to a circuit port.
- Parameters:
- Returns:
- bool
True
when successful,False
when failed.
Examples
>>> from pyaedt import Edb >>> edb_file = r'C:\my_edb_file.aedb' >>> edb = Edb(edb_file) >>> for cmp in list(edb.components.components.keys()): >>> edb.components.deactivate_rlc_component(component=cmp, create_circuit_port=False) >>> edb.save_edb() >>> edb.close_edb()