PrimitiveEdge#

class ansys.edb.core.terminal.terminals.PrimitiveEdge(msg)#

Represents a primitive edge.

Methods

PrimitiveEdge.cast()

Cast the base edge object to the correct subclass, if possible.

PrimitiveEdge.create(prim, point)

Create a primitive edge.

Attributes

PrimitiveEdge.id

int: Unique ID of the EDB object.

PrimitiveEdge.is_null

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

PrimitiveEdge.msg

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

PrimitiveEdge.point

PointData: Coordinates (x, y) of the terminal.

PrimitiveEdge.primitive

Primitive: Primitive of the terminal.

PrimitiveEdge.type