measure_geometry
Measure widths, lengths, distances, gaps, or overlap between layout shapes returned by query_region. Returns results in microns and database units.
Instructions
Measure a value from shapes previously returned by query_region.
Modes and the number of target_ids they take:
path_width (1), segment_length (1), bend_radius_estimate (1),
centerline_distance (2, bounding-box centers), edge_gap (2, bounding-box gap),
overlap (2, bounding-box overlap area). Results are in microns and database units.
Args:
session_id: Session returned by open_layout.
mode: Measurement mode (see above).
target_ids: Shape ids from query_region.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| session_id | Yes | ||
| target_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||