Based on a default configuration file (Defaults.xml in the configuration directory of the CAD export) and the layer settings of the current MXD, a configuration file is created for the CAD export. Inside the default configuration it is searched for the task with the corresponding attributes Renderer and ShapeType for every layer. If no entry is found, it is searched for the renderer unknown and the respective ShapeType. If an appropriate entry is found, it is written in the output configuration file.

Defaults.xml

Defaults.xml

 

Following settings can be made in the Defaults.xml:

Property

Description

mandatory

optional

Task

 

 

 

Renderer

Specifies the name of the renderer. Available are:

ISimpleRenderer

IUniqueValueRenderer -> normal renderers (categories/single values of ESRI)

SynArcLineRenderer: VertiGIS line renderer

SynArcBlockRenderer: VertiGIS block renderer

SynArcTextRenderer: VertiGIS text renderer

SynArcTextLineRenderer: VertiGIS text line renderer

SynArcObjektRenderer: VertiGIS object renderer

SynArcParcelNumberNrRenderer: VertiGIS parcel number renderer

IBivariateRenderer

IChartRenderer

IClassBreaksRenderer

IDotDensityRenderer

IProportionalSymbolRenderer

unknown

x

 

ShapeType

The geometry of the GIS feature class. Supported shape types: Point, Polyline, Polygon

icon_comment

The specification of the shape types is case-sensitive.

x

 

HeaderFileName

The HeaderFileName specified here is used by default as header in your configuration.

x

 

TaskName

Serves for the identification of individual tasks and is mandatory.

x

 

UseCategories

Export in different categories, i.e. one task is created per category. This attribute does not work for VertiGIS Renderer. Control of the attribute through 0 and 1.

 

x

DxfEntity

 

 

 

Type

The entity type that shall be created is to be entered. Available are POLYLINE, TEXT, INSERT, DIMENSION, HATCH

x

 

Properties

 

 

 

Layer

Specification of the CAD layer name. Concerns each DxfEntity.

x

 

LineType

Definition of the line type. Concerns each DxfEntity.

 

x

Color

Color of the entity. Concerns each DxfEntity.

 

x

Width

Width of the polyline for the entity type POLYLINE.

Is not yet being used.

 

x

Text

Text value for TEXT in case of entity type TEXT. Can also be populated over the key fields.

 

x

Rotation

Rotation in alt degree for TEXT or INSERT. Can also be populated over the key fields.

 

x

 

In the section Properties, additional properties can be defined.

icon_cross-reference

The complete excerpt of the available properties is quoted in the chapter Folder Tasks > Properties.

 

Following key fields can be defined:

Property

Description

$PRIMARYDISPLAYFIELD

Display field of the layer (applies to each renderer).

e.g.: FIELD:$PRIMARYDISPLAYFIELD:NoText

$ROTATIONFIELD

Rotation field of the renderer (where existing).

e.g.: FIELD:$ROTATIONFIELD:0

$SCALEFIELD

Field of the scaling or text height of the renderer.

e.g.: FIELD:$SCALEFIELD:1

$SYNTEXTFIELD

Text field of SynArcText renderer.

$FILLSYMBOLRGBCOLOR

The RGB color value of the fill symbol, where fill symbol is present. Usually for polygons with Simple or UniqueValueRenderer. (Applies only for polygons)

$LAYERNAME

Layer name (applies for each renderer)

$Feature-ClassNAME

Feature class name (applies for each renderer)