get_connected_objects#
- LayoutInstance.get_connected_objects(origin_layout_obj_inst, touching_only)#
Get the layout object instance connected to the origin layout object instance.
- Parameters:
- origin_layout_obj_inst
LayoutObjInstance
Layout object instance that is to act as the origin to get connected objects from.
- touching_onlybool
Whether to get only layout object instances touching the orgigin layout object instance on the placement layer of the origin layout object. If
False
all layout object instances across all layers that are electrically connected to the origin layout object instance are returned.
- origin_layout_obj_inst
- Returns:
list
[LayoutObjInstance
]List of layout object instances connected to the origin layout object instance.