list_cells
Retrieve cells in a KLayout layout hierarchy by depth, sorted by name, with bounding boxes, top-cell status, child instance counts, and shape counts.
Instructions
List cells in the layout hierarchy, sorted by name.
Each entry has the cell bounding box in microns, whether it is a top cell, its direct child instance count, and its direct shape count.
Args:
session_id: Session returned by open_layout.
max_depth: Only include cells within this many levels of a top cell (0 = top cells
only, 1 = top cells and their direct children). Omit to list every cell.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||