Standard Parts: Insert
std_part_insertInsert standardized mechanical parts such as fasteners and bearings by designation, writing std_part XDATA so parts lists read directly from the drawing.
Instructions
Define the part's block once, insert it, and write its std_part XDATA.
The block carries DESIG / STD / SIZE / MAT attributes and an ACADMCP_MECH payload, so a parts list is a read of the drawing rather than a naming convention. Refusals, all before any write: a designation outside the transcribed tables (named, with the nearest catalogue entries - nothing is drawn approximately), a malformed designation, a missing or stray nominal length, a view the family does not have, an attribute tag the block does not carry, and a non-finite coordinate or rotation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Insertion X (WCS) | |
| y | Yes | Insertion Y (WCS) | |
| view | No | Fasteners: side | top. Bearings: simplified (ISO 8826-1) | detailed (ISO 8826-2). The default 'side' falls back to the family's first view. | side |
| layer | No | Layer for the INSERT; the block's own primitives keep GEOMETRY / CENTER / HIDDEN | GEOMETRY |
| material | No | Property class or material for the MAT attribute and the XDATA, e.g. '8.8' | |
| rotation | No | Degrees CCW; 0 puts the part's axis along +X | |
| designation | Yes | 'ISO 4014 - M12x60', 'ISO 4032 - M12', 'ISO 7089 - M12', 'ISO 4762 - M8x30', 'ISO 15 - 6205' (a bare '6205' also works) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||