Batch export using external selection
Normally the sheet drawings to be exported are selected in the File > Export > DXF/DWG function using selection list. However, it is possible to use a file containing the selection which is created by another program. In this way, it is possible to generate a selection of drawings with the help of for example a drawing management system.
In order to be able to use such a file in the File > Export > DXF/DWG function it has to meet the following conditions:
- The syntax of the file name is: dxfext*.ext in which * can be for example task1, task2, etc.
- The dxfext*.ext file has to be present in the directory: <projectname>\batch\dxfexpimp
- There are two possible formats:
- Format one:
- <Name of the DXF configuration file which has to be used.>
- <Fixed part of the destination path>
- <Section name 1>,<Sheet drawingname 1>, <dxf|dwg>
- <Section name 2>,<Sheet drawingname 2>, <dxf|dwg>
- ... ...
- <Section name n>,<Sheet drawingname n>, <dxf|dwg>
In which n is the number of sheet drawings to be exported.
For example:
- dxf-ncgblue.cfg
- c:\projects\dxfout
- 102, 102-sheet-1, dxf
- 102, 102-sheet-2, dxf
- 305, 305-sheet-10, dwg
- 500, 500-sheet-3, dxf
- 500, 500-sheet-4, dxf
- Format two:
- <Name of the DXF configuration file which has to be used>
- <Fixed part of the destination path>
- <dxf | dwg | sectionname>
- <sectionname | dxf | dwg>
- <sheet drawingname 1>
- ...
- <sheet drawingname n>
- <dxf | dwg | sectionname | sheet drawingname>
- ... ....
- <dxf | dwg | sectionname | sheet drawingname>
In this format the lines containing the keywords dxf or dwg are only used to switch the format. This means if only dxf or dwg files have to be generated one line containing dxf or dwg is sufficient.
For example:
dxf-ncgblue.cfg |
|
dxf-ncgblue.cfg |
c:\projects\dxfout |
|
c:\projects\dxfout |
dxf |
|
102 |
102 |
|
dxf |
102-sheet-1 |
|
102-sheet-1 |
102-sheet-2 |
|
102-sheet-2 |
dwg |
or |
dwg |
305 |
|
305 |
305-sheet-10 |
|
305-sheet-10 |
dxf |
|
500 |
500 |
|
dxf |
500-sheet-3 |
|
500-sheet-3 |
500-sheet-4 |
|
500-sheet-4 |
If such a file exist it will be presented in the task files list where it can be selected and used like a normal task file.
Both last examples have the same result as the example with format one.