To export shapes to an external format, do the following.
- Select shapes to export.
- Select File > Export.
- Click City Engine Layers > Export Selected Shapes.
- Click Next.
- Choose the Esri Shapefile or AutoCAD DXF format.
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).
The same exporter can also be used to export graph segments: For a graph segment specific description please visit: Exporting Graph Segments to SHP.
The export dialog consists of the filename and 3D options. Presets can be saved and applied.
Press Browse to open a dialog to select a .shp file to export.
The following table illustrates the influence of this option:
|3D Option||Shapefile Type||Data|
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.
The same exporter can also be used to export graph segments: For a graph segment specific description please visit: Exporting Graph Segments to DXF
DXF export doesn't have options. Choose or create the ".DXF" export file by clicking on the Browse button and click on Finish.