LayoutInstanceContext#

class ansys.edb.core.layout_instance.layout_instance_context.LayoutInstanceContext(msg)#

Represents the layout instance context object.

Methods

LayoutInstanceContext.get_bbox(local)

Get the bounding box of the context.

LayoutInstanceContext.get_is_3d_placement(local)

Determine if the context has 3D placement enabled.

Attributes

LayoutInstanceContext.id

int: Unique ID of the EDB object.

LayoutInstanceContext.is_null

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

LayoutInstanceContext.is_top_or_black_box

bool: Flag indicating if this is a top-level or blackbox context.

LayoutInstanceContext.layout

Layout: Layout of the context.

LayoutInstanceContext.msg

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

LayoutInstanceContext.placement_elevation

float: Placement elevation of the context.

LayoutInstanceContext.top_or_black_box

LayoutInstanceContext: Top-level or blackbox context instance.