Navigation:  First Steps > Create configuration >

Automatically create configuration

Previous pageReturn to chapter overviewNext page

With the function Generate Cad export configuration... you can create the configuration file automatically. With it is created for each layer a separate task in the configuration.

Generate cad export configuration

Generate cad export configuration

Note: The requirement for the automatic creation of the configuration file is that the mxd must be saved with the project data and that the delivered Defaults.xml is in the folder CAD export under Program Directory/SynerGIS/GeoOffice/Configuration.

 

The automatic configuration can be created only for one data frame at a time, that is for the active data frame. Therefore the layers are all copied temporarily into one data frame in the WebOffice Sample Project. This has the advantage that the tasks do not have to be acquired manually into the configuration file. Subsequently only adjustments have to be made.

clip0007

Before performing the automatic generation, the layers are reviewed regarding their data source and symbology.:

1. National Capital Cities

FeatureClass

cities

Geometry Type

point

Definition Query

"STATUS" = 'National capital' OR "STATUS" = 'National capital and provincial capital enclave' OR "STATUS" = 'National and provincial capital'

Symbology

 

clip0009

To get the identical representation also in CAD, in the Header File for each Population Rank a block must be set. This block has additionally the attribute "City Name", since the name is also to be displayed.

 

2. Other Cities

FeatureClass

cities

Geometry Type

point

Definition Query

"STATUS" = 'Provincial capital' OR "STATUS" = 'Provincial capital enclave' OR "STATUS" = 'Other'

Symbology

 

clip0010

To get the identical representation also in CAD, in the Header File for each Population Rank must be set  a block. This block has additionally the attribute "City Name", since the name is also to be displayed.

 

3. Country Boundaries

FeatureClass

country_lines

Geometry Type

line

Symbology

 

clip0013

The representation of the line can be defined in the cad export configuration.

 

4. Countries

FeatureClass

countries

Geometry Type

polygon

Symbology

 

clip0014

The representation of the area can be defined in the cad export configuration.

 

5. Ocean Background

FeatureClass

world

Geometry Type

polygon

Symbology

 

clip0015

The representation of the area can be defined in the cad export configuration.

 

6. Airports

FeatureClass

gaz

Geometry Type

point

Definition Query

"CATEGORY" = 'Airport'

Symbology

 

clip0016

To get the identical representation also in CAD, in the Header File for each Category must be set a block.

 

7. Country Names

FeatureClass

countries

Geometry Type

polygon

Symbology/Labeling

The Country Name cannot be rendered into CAD as labels. This applies only if the Feature Class in the background has the Geometry Type Polygon. To be able to apply these labels into CAD, they have to be available in form of Point Annotation FeatureClasses. Alternatively the coordinate of the inserted point can be added to the Polygon FeatureCöass with an X and Y field. If the insert coordinates are available, the label can also be placed.

 

Since in the SampleProject none of the two possibilities are given, the labels are not applied into CAD as into the CAD export configuration.

 

 

 

Generate CAD Export Configuration

The Cad export configuration is now created by selecting the function Generate CAD export configuration. By default, the configuration is saved into the directory mxd.

Please note that in this step is created a xxx.CadExport.Config.Settings File and not a xml File. This file is the basis for the cad export from the WebOffice export author.

In the Configuration file six tasks have been created - one task per layer.

clip0017

 

For a better overview there are numerous programs that organize the contents of the XML File. In the example we are working with the XML Notepad. After opening the file with the program, the general structure is seen. The configuration file is subdivided into a general section and a tasks section.