add_port_on_rlc_component#

Components.add_port_on_rlc_component(component=None, circuit_ports=True, pec_boundary=False)[source]#

Deactivate RLC component and replace it with a circuit port. The circuit port supports only two-pin components.

Parameters:
componentstr

Reference designator of the RLC component.

circuit_portsbool

True will replace RLC component by circuit ports, False gap ports compatible with HFSS 3D modeler export.

pec_boundarybool, optional

Whether to define the PEC boundary, The default is False. If set to True, a perfect short is created between the pin and impedance is ignored. This parameter is only supported on a port created between two pins, such as when there is no pin group.

Returns:
bool

True when successful, False when failed.