PackageDef#

class ansys.edb.core.definition.package_def.PackageDef(msg)#

Represents a package definition.

Methods

PackageDef.create(db, name)

Create a package definition in a given database.

PackageDef.delete()

Delete the package definition.

PackageDef.find_by_id(db, uid)

Find a package definition object by ID in a given database.

PackageDef.find_by_name(db, name)

Find a package definition object by name in a given database.

PackageDef.get_product_property(prod_id, attr_it)

Get the product property for a given product ID and attribute ID.

PackageDef.get_product_property_ids(prod_id)

Get the list of property IDs for a given property ID.

PackageDef.set_product_property(prod_id, ...)

Set the product property for the given product ID and attribute ID.

Attributes

PackageDef.definition_type

DefinitionObjType: Definition type.

PackageDef.exterior_boundary

PolygonData: Exterior boundary of the package definition.

PackageDef.heat_sink

HeatSink: Heat sink model assigned to the package.

PackageDef.height

Value: Height of the package.

PackageDef.id

int: Unique ID of the EDB object.

PackageDef.is_null

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

PackageDef.maximum_power

Value: Maximum power of the package.

PackageDef.msg

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

PackageDef.name

str: Name of the package definition.

PackageDef.operating_power

Value: Operating power of the package.

PackageDef.thermal_conductivity

Value: Thermal conductivity of the package.

PackageDef.theta_jb

Value: Theta JB (junction to board) of the package.

PackageDef.theta_jc

Value: Theta JC (junction to case) of the package.