ControlFileComponent#
- class pyedb.grpc.database.control_file.ControlFileComponent#
Represents a component in the control file.
Overview#
Import detail#
from pyedb.grpc.database.control_file import ControlFileComponent
Attribute detail#
Method detail#
- ControlFileComponent.add_pin(name: str, x: float, y: float, layer: str) None#
Add a pin to the component.
- ControlFileComponent.add_port(name: str, z0: float, pospin: str, refpin: str | None = None, pos_type: str = 'pin', ref_type: str = 'pin') None#
Add a port to the component.
- Parameters:
- name
str Port name.
- z0
float Characteristic impedance.
- pospin
str Positive pin/group name.
- refpin
str,optional Reference pin/group name.
- pos_type
str,optional Positive element type (“pin” or “pingroup”). Default is “pin”.
- ref_type
str,optional Reference element type (“pin”, “pingroup”, or “net”). Default is “pin”.
- name