Repository navigation
DGNATTACH Command
Hakan Seven edited this page Nov 8, 2026
·
1 revision
Attaches a DGN file to the drawing as an underlay.
| Command |
DGNATTACH · -DGNATTACH
|
| Ribbon | Insert tab › Reference panel |
| Web app | Available |
| Since | 2026.40.1 |
- Choose a DGN file in the file dialog.
- In the attach dialog, pick the model, the conversion units and the path type. For the insertion point, scale and rotation, type values or choose to specify them on screen.
- Click Attach.
- If you chose to specify values on screen, pick them in the drawing.
-DGNATTACH asks everything on the command line, which suits scripts:
-
Path to DGN file to attach:Type the file path. -
Enter name of model or [?]:Type a model name, press Enter for the first model, or type?to list the models. -
Specify conversion units [Master/Sub] <Master>:Master (M) uses the file's master units; Sub (S) scales the underlay so that sub units become drawing units. -
Specify insertion point:Pick a point. -
Specify scale factor or [Unit]:Type a scale, or typeUto choose a unit (MM, Centimeter, Meter, Kilometer, Inch, Foot, Yard, MILe, Unitless). -
Specify rotation:Type an angle or press Enter.
- When
FILEDIAis 0,DGNATTACHuses the command-line form too. - If you type a file name after
DGNATTACH, the file dialog is skipped and the command line asks for the rest. - The underlay is a reference to the file; its elements are not copied into the drawing. Use
DGNIMPORTto bring them in as objects.
DGNADJUST · DGNCLIP · DGNIMPORT · PDFATTACH · DWFATTACH
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