# DWFATTACH Command
[GstarCAD 2023](Help%20System/GSTARCAD/2023/Index.md) → [Commands](Help%20System/GSTARCAD/2023/Commands/(Commands).md) → [D](Help%20System/GSTARCAD/2023/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/2023/Commands/03%20Dialog%20Boxes/DWFATTACH%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: /**

---
**Related References:**
- [Commands about DWF Files](Help%20System/GSTARCAD/2023/Commands/00%20Command%20Groups/Commands%20about%20DWF%20Files.md)
**Related Tasks:**
- [To Attach a DWF or DWFx Underlay](Help%20System/GSTARCAD/2023/Commands/01%20Procedures/To%20Attach%20a%20DWF%20or%20DWFx%20Underlay.md)
- [To Attach a PDF Underlay](Help%20System/GSTARCAD/2023/Commands/01%20Procedures/To%20Attach%20a%20PDF%20Underlay.md)
- [To Attach a DGN Underlay](Help%20System/GSTARCAD/2023/Commands/01%20Procedures/To%20Attach%20a%20DGN%20Underlay.md)
- [To Detach an Underlay](Help%20System/GSTARCAD/2023/Commands/01%20Procedures/To%20Detach%20an%20Underlay.md)
- [To Plot a DWF File](Help%20System/GSTARCAD/2023/Commands/01%20Procedures/To%20Plot%20a%20DWF%20File.md)
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2023_en-US/detail/commandReferences/DWFATTACH.html) · © Gstarsoft Co., Ltd.