Command Line Usage

Convert a single file

dgn_dwg.exe /InFile source-file-name /OutFile destination-file-name [/OutVer output-version] [/Hide]

Parameters:
/InFile          Input file name, e.g. D:\DGNs\Building.dgn
/OutFile        Output file name, e.g. D:\DWGs\Building.dwg
/OutVer        Output file version, available values: acad2018, acad2013, acad2010, acad2007, acad2004, acad2000, acad14, acad13, acad12, acad10, acad9, acad26, and acad25. Default is acad2000.
/Hide            Hide the result window.

Example: Convert sample.dgn to sample.dwg
dgn_dwg.exe /InFile D:\sample.dgn /OutFile E:\sample.dwg /OutVer acad2004

Convert a folder

dgn_dwg.exe /InFolder source-folder /OutFolder destination-folder /ConvertType conversion-type [/IncSubFolder] [/OutVer output-version] [/Hide]

Parameters:
/InFolder          Input folder name, e.g. D:\DGNs
/OutFolder        Output folder name, e.g. D:\DWGs
/IncSubFolder   Include subdirectories.
/ConvertType   Conversion type, available values:
                       DGN2DWG        Convert DGN to DWG
                       DGN2DXF         Convert DGN to DXF
 /OutVer           Output file version, available values: acad2018, acad2013, acad2010, acad2007, acad2004, acad2000, acad14, acad13, acad12, acad10, acad9, acad26, and acad25. Default is acad2000.
/Hide                Hide the result window.

Example: Convert all dgn files to dwg files
dgn_dwg.exe /InFolder D:\DGNs\ /OutFolder F:\DWGs\ /ConvertType DGN2DWG /IncSubFolder

Get Help

dgn_dwg.exe /?

 

 


Copyright (c) 2022 AnyDWG Software, Inc (https://anydwg.com). All Rights Reserved.