GstarCAD command

IMAGEATTACH command

Attach a raster image to the current drawing as an external reference with controlled path, insertion point, scale and rotation.

Command
IMAGEATTACH
Alias
IAT
Tool group
Insert
Level
Beginner

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

  1. Type IMAGEATTACH or its shortcut IAT, then press Enter.
  2. In the Select Reference File dialog box, select the image file and click Open.
  3. Choose the required Path type in the Attach Image dialog box.
  4. Set the insertion point, scale and rotation numerically or select Specify On-screen.
  5. 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.

Path type
Stores the image using a Full path, Relative path or No path. Full path is the default.
Insertion point
Places the image at specified X, Y and Z coordinates or lets you position it on-screen.
Scale
Controls the size of the attached image. The default scale factor is 1.
Rotation
Sets the image rotation angle. The default angle is 0 degrees.
Read position file
Uses positioning information from a corresponding .tfw file when available.
Show Details
Displays information such as resolution, pixel dimensions, drawing-unit size, location and saved path.

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.

All commands Updated 20 October 2026
Continue learning
View all commands

Ready to switch to GstarCAD?

Get personalized advice on licensing, migration, and deployment for your business.

Contact us Buy now

No obligation — reply within 24h

Your Cart

Subtotal

Price does not include local taxes or duties.

Proceed to Checkout

Cookie preferences

Choose which cookies you want to allow. Essential and payment cookies cannot be disabled as they are required for the site to function.

Essential

Required

Core functionality including authentication, shopping cart, and language preferences.

Payment

Required

Required for processing payments securely through Stripe and PayPal.

Analytics

Help us understand how visitors interact with our site to improve the experience.

Marketing

Used to deliver relevant advertisements and measure campaign performance.

Functional

Order attribution and traffic source tracking to help us understand how customers find our store.