The following table provides an example of a batch file used for importing DXF files.
The following requirements are assumed:
Commands in the batch file |
Comment |
@ NemetschekBatchConversionCfgFile |
#Initial command |
@CONVERSION_MODE IMPORT |
#Specifies that files are being imported. |
@SOURCE_DIR G:\ |
#Specifies drive G: as the source drive. |
@DEST_DOC tb000001 |
#Specifies that the following file is to be imported to drawing file 1. Please note that the real name of the drawing file has to be specified here. |
@DOCUMENT A.DXF |
#Specifies that the file A.DXF is imported. The path does not need to be specified, as it has already been defined in SOURCE_DIR. |
@DEST_DOC tb000002 |
#Specifies that the following file is to be imported to drawing file 2. |
@DOCUMENT A.DXF |
#Specifies that the file B.DXF is imported. |
@DX -100000 |
#Specifies that the following file is to be imported with an additional offset of -100000m in the X direction. |
@DY -100000 |
#Specifies an additional offset in the Y direction. |
@DEST_DOC tb000003 |
#The third file is to be imported to drawing file 3. |
@DOCUMENT C.DXF |
#The file C.DXF is to be imported. |
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 |