Repository navigation
ATTACH Command
Hakan Seven edited this page Nov 8, 2026
·
1 revision
Picks a file and attaches it to the drawing as a reference: a drawing, raster image, PDF, DWF, DGN or point cloud.
| Command |
ATTACH · -ATTACH
|
| Web app | Available |
| Since | 2026.39 |
- Run
ATTACH. The Select Reference File dialog opens. - Choose a file type and pick the file.
- Go on with the attach step for that file type:
- A drawing (DWG or DXF) opens the Attach External Reference dialog.
- A raster image is placed as an image.
- A PDF, DWF or DGN file opens the underlay attach dialog, where you choose the page, sheet or model.
- A point cloud (RCP or RCS) opens the Attach Point Cloud dialog.
You can also type the file name after the command, for example ATTACH "C:\Plans\site.dwg". The file picker is then skipped.
-ATTACH asks for everything on the command line, so it suits scripts:
- Path to file to attach: type the full path of the file.
- For a drawing file, specify reference type Attachment (
A) or Overlay (O). Press Enter for Attachment.
PDF, DWF, DGN and point cloud files go on to the command-line form of their own attach command. Images are placed directly.
- The file type you last chose in the picker is remembered.
- A file picked under the "All DGN Files" type is treated as a DGN file.
- With
FILEDIAset to 0,ATTACHworks like-ATTACH. - If the file cannot be found, an error is shown.
XATTACH · IMAGEATTACH · PDFATTACH · DWFATTACH · DGNATTACH · POINTCLOUDATTACH · XREF
Open CAD Studio is free software under the GPL-3.0 licence · Source code · Download · Web app · Discussions
Get started
- Installation
- Your First Drawing
- Tutorials
- The User Interface
- Ribbon Reference
- Workspaces and Toolbars
- Navigating the Drawing
Draw and edit
- Drawing Setup and Units
- Precision Drawing
- Isometric Drafting
- Drawing Objects
- Multilines
- Selecting Objects
- Modifying Objects
- Hatches and Fills
- Layers and Properties
Annotate
Organise and reuse
Present and share
3D
Tools
Reference