Export shapes

To export shapes to an external format, do the following.

  1. Select shapes to export.
  2. Select File > Export.
  3. Click City Engine Layers > Export Selected Shapes.
  4. Click Next.
  5. Choose the Esri Shapefile or AutoCAD DXF format.
Tip:

There are two ways you can export shape geometry in CityEngine: (1) use the pure shape exporters, or (2) use the model exporters and choose to only export the shape geometry.

Export to SHP

The Esri Shapefile or simply a shapefile is a popular geospatial vector data format for geographic information systems software. A shapefile commonly refers to a collection of files. The main file (.shp) contains the shape data and the database file (.dbf) contains attributes for each shape. The shapefile exporter can export shapes and attributes to these files. Additionally, the exporter writes an index file (.shx).

Note:

The same exporter can also be used to export graph segments: For a graph segment specific description please visit: Exporting Graph Segments to SHP.

Export settings

The export dialog consists of the filename and 3D options. Presets can be saved and applied.

File

Press Browse to open a dialog to select a .shp file to export.

3D Options

The following table illustrates the influence of this option:

3D OptionShapefile TypeData

none

Polygon

2D

PolygonZ

PolygonZ

3D

Multipatch

Multipatch

3D

Note:

The exporter does not write a .prj projection file. The data is always stored in cartesian coordinates in the current scene coordinate system.

Exporting to DXF

AutoCAD DXF, Drawing Interchange Format, or Drawing Exchange Format, is a CAD data format developed by Autodesk. A DXF file contains a set of entities. For each selected shape, the exporter writes an entity of type closed Polyline.

Note:

The same exporter can also be used to export graph segments: For a graph segment specific description please visit: Exporting Graph Segments to DXF

Export settings

DXF export doesn't have options. Choose or create the ".DXF" export file by clicking on the Browse button and click on Finish.