# XATTACH Command
[GstarCAD 2015](../../Index.md) → [Commands](../%28Commands%29.md) → [X](%28X%29.md)
## Function Description:
> Attach an external reference to the current drawing
**Menu:**
> Insert\>DWG Reference
**Command Entry:**
> XATTACH
**Command Prompt:**
> Open "Select Reference File" Dialog Box, you can select drawing file attached in this Dialog Box.
>
> The External Reference Dialog Box is displayed after a file is selected, user can set name, insertion point, scale and rotation angle for the inserting external reference.
>
> If you check Specify On-screen for insertion point, scale and rotation angle, the Command prompt is displayed:
>
> Insertion point:
>
> Corner/XYZ/X scale factor \<Current\>:
>
> Y scale factor: \< Equal to X scale (Current)\>:
>
> Rotation angle for block \<Current\>:
## Other versions with matching text
[GstarCAD 8 (2013–2014)](../../../2013/Commands/X/XATTACH%20Command.md)