GstarCAD command

DWFATTACH command

Attach DWF or DWFx files to the current drawing as linked underlays with controlled sheet, path, position, scale and rotation.

Command
DWFATTACH
Alias
—
Tool group
Insert
Level
Beginner

What does DWFATTACH do?

DWFATTACH attaches a DWF or DWFx file to the current drawing as an external underlay. The source file remains linked rather than being converted into normal DWG geometry.

DWF underlays are useful for referencing published drawings, layouts and project information while keeping the original file separate. If the referenced DWF is updated, the changes can be displayed after the reference is reopened or reloaded.

How to use the command

  1. Type DWFATTACH, then press Enter.
  2. In the Select Reference File dialog box, select a DWF or DWFx file and click Open.
  3. Select one or more sheets from the file.
  4. Choose the required path type and set the insertion point, scale and rotation.
  5. Click OK and specify any settings that were left as Specify On-screen.
Command: DWFATTACH ↵
Select Reference File: select DWF or DWFx file
Select sheets: select required sheet
Path type: Relative path
Insertion point: Specify On-screen
Scale factor: 1
Rotation angle: 0
OK
Specify insertion point: pick point

Key DWFATTACH options

The Attach DWF Underlay dialog box controls which sheets are attached and how they are positioned in the drawing.

Sheets
Selects one or more sheets from a DWF or DWFx file. Use Shift or Ctrl when selecting multiple sheets.
Path Type
Stores the reference using a Full path, Relative path or No path. Relative path is the default.
Insertion Point
Defines the X, Y and Z position of the underlay or allows the location to be specified on-screen.
Scale
Controls the size of the attached underlay. The default scale factor is 1.
Rotation
Sets the rotation angle of the DWF underlay. The default angle is 0 degrees.
Show Details
Displays the source file location and the path stored with the drawing.

Practical example: attach a published drawing sheet

Suppose a project includes a multi-sheet DWF file and you need the ground-floor sheet as a reference. Run DWFATTACH, select the file and choose the required sheet.

Use Relative path, keep the scale at 1 and rotation at 0, then position the underlay in the drawing. You can now use the published sheet as reference geometry without converting it into editable DWG objects.

Tip

Use a relative path when the DWF file is stored with the project. GstarCAD can also use object snaps on suitable geometry in attached DWF and DWFx underlays when DWF object snapping is enabled.

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.