PortProperty#

class ansys.edb.core.definition.port_property.PortProperty(msg)#

Represents a port property.

Methods

PortProperty.clone()

Clone a port property.

PortProperty.create()

Create a port property.

PortProperty.get_reference_size()

Get the X and Y reference sizes for the port property.

PortProperty.set_reference_size(ref_x, ref_y)

Set the X and Y reference sizes for the port property.

Attributes

PortProperty.id

int: Unique ID of the EDB object.

PortProperty.is_null

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

PortProperty.msg

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

PortProperty.reference_height

Value: Reference height of the port property.

PortProperty.reference_size_auto

bool: Flag indicating if the reference size is automatic.