To place special Hull elements like: plates, brackets, part numbers, dimensions etc. in layers during exporting the file <filename>.dat can be used in combination with the variable setting spec_name=<filename>.dat.
If the variable spec_name has not been set, fragments are converted to AutoCAD layers according to the tablayer file.
The file <filename>.dat should be created in the %ncghelps%\dxf directory, and has the following structure:
Element_indication AutoCAD_layername Color AutoCADLineType HullLineType
For example:
BRACKET |
Brackets |
1 |
CONTINUOUS |
0 |
POSNR |
Posnumbers |
2 |
Dashed1 |
|
DIMENSIONS |
Dimensions |
3 |
CONTINUOUS |
0 |
For Color and HullLineType also the letter 'A' can be used in which case selected items preserve respectively there color and/or their dash pattern
For example:
BRACKET |
Brackets |
A |
CONTINUOUS |
A |
POSNR |
Posnumbers |
A |
Dashed1 |
|
DIMENSIONS |
Dimensions |
3 |
CONTINUOUS |
A |
The possible values for Element_indication are defined in the files %ncghelps%\dxf\dxfselect.cmd and dxfselectplo.cmd.
Note: The values for Element_indication, AutoCAD_Layername and AutoCADLineType should not contain any spaces.
If elements with specific colours have to be put in specific layers, the setting selectbycolor=TRUE can be used in combination with the spec_name setting. In this case all submodels will be expanded in order to be able to select all elements based on their pen colour.
For example:
COLOR1 pen_035 1 CONTINUOUS A
COLOR2 pen_050 2 CONTINUOUS A
COLOR3 pen_070 3 CONTINUOUS A
COLOR4 pen_025 7 CONTINUOUS A
Note: By using the spec_name variable the in the dxf-<configuration_name>.cfg file specified tablayer and tabdash files will be overwritten. So don't use the same tablayer and tabdash for export (label 1) and import (label 4) unless you want to import the same file you exported. The files names should also be different from the ones used in other configurations.
The first three columns are used to rewrite the tablayer file specified with the %tablayer% setting while the fourth and fifth column are used to adapt the tabdash file (%tabdash%).