-DGNIMPORT (Command)

At the Command prompt, imports data from DGN files.

You can create a script using -DGNIMPORT to batch process importing of DGN files.

The following prompts are displayed.

Filename for DGN Import
Specifies the path and name of the DGN file to import.

To avoid errors when entering a file name, it is recommended that you specify both the DGN file and path as follows:

path\filename.dgn

or

“path\filename.dgn”

If you enter a valid DGN file name without a file extension, the program adds the extension.

Name of model
Specifies the name of the design model in the DGN file.
  • ?. Lists all design models.
Specify conversion units
Specifies a drawing-units value for scaling the DGN file. Select the appropriate conversion units for the translation. The DGN seed file contains working units (imperial or metric) called master units and sub-units. One DGN unit is converted to either one master unit or one sub-unit in the DWG file.
  • Master. Specifies that one master DGN drawing unit (such as feet) will convert to one master unit of the specified DWG file.
  • Sub. Specifies that one sub-unit in the DGN seed file (such as inches) will convert to one sub-unit of the specified DWG file.
Specify mapping setup
Specifies how the selected design model properties will be translated, or mapped, to the target file.
  • Mapping setup. Specifies the default mapping setup, which extracts data from the drawing being imported and applies an automatic mapping to layers, linetypes, lineweights, and colors.
  • ?. Prompts you to enter a filter (using * as a wildcard character) to display a list of available export mapping setups that match the filter.