Repository navigation
DGNIMPORT Command
Hakan Seven edited this page Nov 8, 2026
·
1 revision
Imports the elements of a DGN file as drawing objects.
| Command |
DGNIMPORT · -DGNIMPORT
|
| Ribbon | Insert tab › Import panel |
| Web app | Available |
| Since | 2026.44 |
- Choose a DGN file in the file dialog.
- In the DGN Import dialog, set the options:
- Model: the design model to import. Sheet models are not listed.
- Target: import into a New Drawing or the Current Drawing. For the current drawing, choose Add prefix to dependent definitions or Ignore duplicate names for names that already exist.
- Units: use the file's Master unit or Sub unit.
- Explode text nodes to text elements: imports each line of a text node as its own text object.
- External DGN references: bind them as blocks or references, ignore them, or attach them as DGN underlays. You also choose what happens when a translated drawing already exists: prompt, overwrite, or keep it.
- Property mapping: shows how the standard mapping setup turns DGN colors, levels, line styles and line weights into drawing colors, layers, linetypes and lineweights.
- Click Import.
-DGNIMPORT asks on the command line, which suits scripts:
-
Enter filename for DGN import:Type the file path. -
Enter name of model or [?]:Type a model name, press Enter for the first one, or type?to list the models. -
Specify conversion units [Master/Sub] <Master>:TypeMorS. -
Specify mapping setup or [?] <Standard>:Type a mapping setup name, press Enter for the standard one, or type?to list them.
- When
FILEDIAis 0,DGNIMPORTuses the command-line form. -
DGNIMPORTMODEsets the target the dialog starts with. - You can also open DGN files through
IMPORT. - Invalid or unsupported DGN files are rejected with a message.
DGNATTACH · IMPORT · PDFIMPORT
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