CfgPinGroup#

class pyedb.configuration.cfg_pin_groups.CfgPinGroup(/, **data: Any)#

Bases: pyedb.configuration.cfg_common.CfgBaseModel

Represent one pin-group definition bound to a component.

Overview#

model_post_init

Transfer the pedb field value to the private _pedb attribute.

create

Write this pin group into the open EDB design.

export_properties

Serialize this pin group to a plain dictionary.

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

name

reference_designator

pins

net

pedb

Import detail#

from pyedb.configuration.cfg_pin_groups import CfgPinGroup

Attribute detail#

CfgPinGroup.model_config#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

CfgPinGroup.name: str | None = None#
CfgPinGroup.reference_designator: str | None = None#
CfgPinGroup.pins: Any | None = None#
CfgPinGroup.net: Any | None = None#
CfgPinGroup.pedb: Any | None = None#

Method detail#

CfgPinGroup.model_post_init(__context: Any) None#

Transfer the pedb field value to the private _pedb attribute.

CfgPinGroup.create()#

Write this pin group into the open EDB design.

Raises:
RuntimeError

If no pins and no net are configured, or if EDB creation fails.

CfgPinGroup.export_properties()#

Serialize this pin group to a plain dictionary.