Sheet: Add Revision
revision_addAppend a revision row to a drawing's revision block, creating the block on first use. Prevents duplicate entries by ignoring codes already present.
Instructions
Append one row to the revision block, creating the block on first use.
Idempotent per revision code: a code the drawing already carries returns
created=false and draws nothing, so re-running a revision pass cannot
stack duplicates. The block defaults to the upper-right corner of the
drawing frame, growing downwards, so it does not collide with the ISO 7573
parts list above the title block. Refusals, all before the first entity: a
malformed code, a cloud region that is not [x0, y0, x1, y1], and any
request for clouds on a backend whose revcloud capability is false (the
COM engine — REVCLOUD has no ActiveX member) — that one carries
capability: "revcloud".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Who issued it. | |
| rev | Yes | Revision code: one to three capitals or digits (A, B, 01). | |
| date | No | Issue date, verbatim. | |
| size | No | Sheet the block is placed on: A4-A0. | A3 |
| tags | No | Points [x, y] to put a triangular revision tag at. | |
| clouds | No | Regions to cloud, each [x0, y0, x1, y1] in WCS. Refused before anything is written on an engine without the revcloud capability. | |
| layout | No | ||
| origin_x | No | ||
| origin_y | No | ||
| description | Yes | What changed, verbatim. | |
| orientation | No | landscape | |
| cloud_segment | No | Revision-cloud arc segment length (mm). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||