Sheet: Draw Parts List
bom_tableDraw an ISO 7573 bill-of-materials item list as a real TABLE entity above the title block, extracting rows from the drawing when none are supplied.
Instructions
Draw the ISO 7573 item list as a real TABLE entity, 180 mm wide (the title-block width), growing upwards from directly above the title block.
With direction="up" the heading row sits against the title block and item
1 is the row above it, so the list extends upwards as parts are added —
which is what ISO 7573 asks for on a drawing. Pass rows to draw a list
you already have, or omit it and the tool runs bom_extract first.
representation reports what was drawn: native (a real ACAD_TABLE on the
live engine) or composite (rules and MTEXT headlessly, whose handle is
the first child). Refusals: no rows to draw, an unknown column, an unknown
direction, a layout that does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at_x | No | Override the anchor X; default is the title block's. | |
| at_y | No | ||
| rows | No | Rows to draw; omit to extract them from the drawing first. | |
| size | No | Sheet the list is placed on. | A3 |
| layout | No | ||
| columns | No | ||
| origin_x | No | ||
| origin_y | No | ||
| direction | No | 'up' (ISO 7573 on a drawing: heading at the bottom, items ascending) or 'down'. | up |
| row_height | No | ||
| orientation | No | landscape |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||