The Country Boundaries are defined in GIS as a two-colored line, consisting of a grey line shaded with a white, somewhat thicker line.

It is not possible to render a polyline with two different colors and line widths into CAD. Therefore two tasks have to be set up for the Country Boundaries, one for the grey line, the other one for the white line.

Country Boundaries - representation in GIS

Country Boundaries - representation in GIS

 

1.Country Boundaries – Line1
First of all the white line is defined, since it must lay in the background, not covering the narrower line.

Task Country Boundaries - Line1

Task Country Boundaries - Line1

Task

HeaderFileName

The file Header_SampleProject.dxf is given as header.

TaskName

The task name for the first line is Country Boundaries - Line1.

FeatureClassName

country_lines

DxfEntity
The lines are exported as POLYLINE type.

Properties

Layer

The layer name is Country Boundaries

RgbColor

The attribute Color is again renamed to RgbColor and is defined with the RGB values 255,225,255.

Width

The attribute Width defines the width of the polyline. The value is set to 4.

2.Country Boundaries – Line2
The task for the grey line is inserted under the task of the white line to ensure that this task is performed after the task for Line1.
Therefore it is easiest to duplicate the task of the Country Boundaries – Line 1 by copy and paste and to adjust the value accordingly.
Pay attention when pasting the task so that the task is placed at the right place and is not component of another task. Under these circumstances nothing would be exported.

Task Country Boundaries - Line2

Task Country Boundaries - Line2

Adjustments

Task name

Changing the task name from Country Boundaries – Line1 to Country Boundaries – Line2

Layer

The value of the layer does not change, since the line is to be exported on the same CAD layer.

RgbColor

The RGB values are 104,104,104.

Width

The width of the line has the value 1.