Sheet: Attach Image
image_attachAttach a raster image underlay to an AutoCAD drawing at its native aspect ratio, with insertion point, scale in drawing units per pixel, and rotation.
Instructions
Attach a raster underlay at the file's own aspect ratio. Both engines.
scale is drawing units per pixel, so the placed size is the image's pixel
size times scale and the payload reports both. Refusals, all before
anything is written: a file that does not exist, a file no image reader can
open (named), a non-positive or non-finite scale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Insertion X (WCS). | |
| y | No | Insertion Y (WCS). | |
| path | Yes | Full path of the raster image. | |
| scale | No | Drawing units per pixel: an 800x400 image at 0.1 is 80x40 mm. | |
| rotation | No | Rotation in degrees. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||