Converting multiple 3D dgn files to 2D

Status
Not open for further replies.

Vidyadhar

Usenet Archive
Joined
Dec 6, 2001
Messages
10
Reaction score
0
Does anybody has source code of cnvdgn.ma or similar mdl for converting multiple 3D dgn files to 2D?

"Press any key to continue" message after each conversion is iritating! I want to remove this option from the mdl!

Any help will be highly appreciated!

Regards,

V.S. Jangale
 
Vidyadhar ...

Does anybody has source code of cnvdgn.ma or similar mdl for converting multiple 3D dgn files to 2D?

Use this modified version of MSBATCH.DGN. The comments explain what's going on.

@echo off
rem Edited version of \MicroStation\msbatch.bat
rem Converts 3D=>2D files using delivered cnvdgn.ma
rem
rem Command Line Syntax: msbatch cnvdgn <option1 option2 option3...> rem rem Example: (Convert 3D Design Files \dgn3d to 2D Files in \dgn2d) rem msbatch cnvdgn inname:\dgn3d\*.dgn outname:\dgn2d\ rem rem Options:
rem inname:<inputfilename> (May contain wildcards) rem outname:<outputfilename> rem view:<1-8> rem reference:<none|merge|maintain|convert> rem elevtype:<fixed|conzlo|conzhi|elemzlo|elemzhi> (2d => 3d only) rem elevation:<elevation value> (2d => 3d only) rem pauseScreen:<on|off> rem rem runwait ustation -wa%1 -i%2 -i%3 -i%4 -i%5 -i%6 -i%7 -i%8 -i%9 rem runwait ustation cnvdgn inname:\dgn\*.dgn outname:\dgn2d\ rem rem This is a debugged version that solves Bentley's incomplete rem documentation. Note that the final double back-slash is intentional. rem runwait ustation -wacnvdgn -i"inname:<intput file path>" -i"outname:<output file path>\" rem rem Example to convert all dgn files in directory L:\Maps\dgn3d\ to rem their 2D version in directory L:\Maps\dgn2d\ runwait ustation -wacnvdgn -i"inname:L:\Maps\dgn3d\*.dgn" -i"outname:L:\Maps\dgn2d\\ "
 
Status
Not open for further replies.

Latest threads

Back
Top