# DWFATTACH Command
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md) → [D](Help%20System/GSTARCAD/2027/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/2027/Commands/03%20Dialog%20Boxes/D/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 (GstarCAD 2026)](../../../2026/Commands/00%20Command%20Groups/Commands%20about%20DWF%20Files.md)
**Related Tasks:**
- [To Attach a DWF or DWFx Underlay (GstarCAD 2026)](../../../2026/Commands/01%20Procedures/To%20Attach%20a%20DWF%20or%20DWFx%20Underlay.md)
- [To Attach a PDF Underlay (GstarCAD 2026)](../../../2026/Commands/01%20Procedures/To%20Attach%20a%20PDF%20Underlay.md)
- [To Attach a DGN Underlay (GstarCAD 2026)](../../../2026/Commands/01%20Procedures/To%20Attach%20a%20DGN%20Underlay.md)
- [To Detach an Underlay (GstarCAD 2026)](../../../2026/Commands/01%20Procedures/To%20Detach%20an%20Underlay.md)
- [To Plot a DWF File (GstarCAD 2026)](../../../2026/Commands/01%20Procedures/To%20Plot%20a%20DWF%20File.md)
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences_D/DWFATTACH.html) · © Gstarsoft Co., Ltd.