P&ID: Line List
pid_line_listLists every P&ID line with number, class, size, service, spec, insulation, and endpoints, and can export the rows to CSV without changing the drawing.
Instructions
Every P&ID line with its number, class, size/service/spec/insulation and endpoints.
Rows come from pid_graph; untagged lines sort last with line_number: null.
An end names a node's tag (its handle when untagged) and port, or — at a
junction — the line numbers (or handles) of the lines it joins.
The drawing is not modified; csv_path is the only file this tool writes,
validated before the drawing is read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | current_space | all | current_space |
| csv_path | No | Write the rows as CSV here (inside ALLOWED_PATHS); text that starts like a formula (= + - @ tab CR) is prefixed with ' so a spreadsheet never runs it | |
| tolerance | No | Endpoint-to-port snap distance (mm) | |
| label_search | No | How far to look for tag/line-number text (mm) | |
| include_foreign | No | Classify INSERTs not placed by this server (confidence < 1) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||