What does IMAGEATTACH do?
IMAGEATTACH attaches a raster image to the current drawing as an external reference. The image remains linked to its original file, allowing it to be positioned, scaled and rotated without permanently embedding the image data in the DWG file.
The command is useful for inserting scanned plans, aerial images, site maps, sketches and other raster references that can be traced or used as background information.
How to use the command
- Type
IMAGEATTACHor its shortcut IAT, then press Enter. - In the Select Reference File dialog box, select the image file and click Open.
- Choose the required Path type in the Attach Image dialog box.
- Set the insertion point, scale and rotation numerically or select Specify On-screen.
- Click OK and specify any remaining values directly in the drawing area.
Command: IAT ↵
Select Reference File: select image file
Attach Image: choose path, insertion, scale and rotation settings
OK
Specify insertion point: pick point
Specify scale factor: 1 ↵
Specify rotation angle: 0 ↵
Key IMAGEATTACH options
The Attach Image dialog box controls how the referenced image is located and positioned.
Practical example: attach a scanned site plan
Suppose you have a scanned plan named site-plan.png stored in the same project folder as your DWG file. Run IMAGEATTACH, select the image and choose Relative path so the project can be moved while maintaining the reference more easily.
Enable Specify On-screen for the insertion point, use a scale factor of 1 and set rotation to 0. Place the image in the required location and then use it as a background for tracing or comparison.
Tip
Keep referenced image files together with the DWG project and use a relative path when possible. If the image is moved or renamed, GstarCAD may no longer be able to locate the reference until its path is updated.