LayoutObjInstance#

class ansys.edb.core.layout_instance.layout_obj_instance.LayoutObjInstance(msg)#

Represents a layout object instance.

Methods

LayoutObjInstance.get_bbox([local])

Get the bounding box of the layout object instance.

LayoutObjInstance.get_geometries(layer)

Get the geometry that exists on a given layer.

Attributes

LayoutObjInstance.context

list[str]: All strings representing the context of the layout object instance.

LayoutObjInstance.id

int: Unique ID of the EDB object.

LayoutObjInstance.is_null

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

LayoutObjInstance.layers

list of Layer: All layer instances.

LayoutObjInstance.layout_instance_context

LayoutInstanceContext: Context that the layout object instance exists in.

LayoutObjInstance.layout_obj

Connectable: Definition layout object that the layout object instance is an instance of.

LayoutObjInstance.msg

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