run_drc_script
Run a KLayout DRC deck in batch mode against the session layout for design rule checking. Returns run_id and marker counts per rule for marker extraction.
Instructions
Run a KLayout DRC deck in batch mode against the session layout.
The deck receives $input_path and $report_path variables and must write its
report to $report_path. Returns a run_id and marker counts per rule; pass the
run_id to extract_markers for marker locations. Requires the klayout executable
(on PATH or via KLAYOUT_BIN).
Args:
session_id: Session returned by open_layout.
script_path: Absolute path to the DRC deck.
script_type: Deck language. Only ruby is supported.
params: Extra variables passed to the deck with -rd name=value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| session_id | Yes | ||
| script_path | Yes | ||
| script_type | No | ruby |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||