ComponentDef#

class ansys.edb.core.definition.ComponentDef(msg)#

Represents a component definition.

Methods

ComponentDef.create(db, comp_def_name, fp)

Create a component definition in a given database.

ComponentDef.find(db, comp_def_name)

Find a component definition in a given database.

Attributes

ComponentDef.component_models

list of ComponentModel: All component models associated with the component definition.

ComponentDef.component_pins

list of ComponentPin: All component pins of the component definition.

ComponentDef.definition_type

DefinitionObjType: Definition type.

ComponentDef.footprint

Cell: Footprint of the component definition.

ComponentDef.id

int: Unique ID of the EDB object.

ComponentDef.is_null

bool: Flag indicating if the object exists in the database.

ComponentDef.msg

EDBObjMessage: Protobuf message that represents the object's ID.

ComponentDef.name

str: Name of the component definition.