# DWFATTACH Command
[GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [Commands](Help%20System/GSTARCAD/2022/Commands/(Commands).md) → [D](Help%20System/GSTARCAD/2022/Commands/D/(D).md)
## Function Description:
This command is used to insert a DWF or DWFx file as an underlay into the
current drawing. The Select Reference File dialog box is displayed. Once you
select a DWF or DWFx file, the [Attach DWF Underlay dialog box](Help%20System/GSTARCAD/2022/Commands/03%20Dialog%20Boxes/Attach%20DWF%20Underlay%20Dialog%20Box.md) is displayed.
When you attach a DWF or DWFx file as an underlay, you link that referenced file
to the current drawing. Any changes to the referenced file are displayed in the
current drawing when it is opened or reloaded.
## Command Access:
> **Icon:**
> 
> **Menu:** Insert \> DWF Underlay...
> **Ribbon:** Insert \> Reference \> DWF Underlay
> **Toolbar:** Insert \> Insert a DWF Underlay
> **Command:** DWFATTACH
> **Alias: /**
**Command Prompts: /**
