The following table provides an example of a batch file used for exporting DXF files.
The following requirements are assumed:
Commands in the batch file |
Comment |
@ NemetschekBatchConversionCfgFile |
#Initial command |
@CONVERSION_MODE EXPORT |
#Export files |
@DEST_DIR G:\ |
#Specifies drive G: as the destination drive. |
@DOCUMENT A.DXF |
#Specifies that the file A.DXF is exported. The path does not need to be specified as it has already been defined in DEST_DIR. |
@VERSION 14 |
#Specifies Version 14 as the destination version. |
@SYSTEM "dxftool -clean2 G:\a.dxf" |
#Starts dxftool with the option clean2 and checks the new file A.DXF. |
Note: To use this example as a basis for your own batch files, select the table, press CTRL+C to copy it to the Clipboard, and then press CTRL+V to paste it in an editor (e.g., Notepad).
(C) Allplan GmbH | Privacy policy |