Importing Data from 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. There are several entity types.
CityEngine imports the following entity types
- as shapes: Circle, LwPolyline (must be closed), Polyline (must be either closed or polyface mesh) and Insert.
- as graph segments: Line, Arc, Circle, Polyline, LwPolyline and Insert.
Import SettingsThe import dialog consists of several options, as shown below. As usual, presets can be saved and applied.
FilePress to open a dialog to select a .dxf file to import.
Note: After opening a file, the DXF entities are automatically classified as graph segment or shape and moved to the containers on the right.
OffsetIn the x- and y- offset fields, one can specify an offset in order to translate the data before importing. This can be useful to center the imported data and to avoid floating point precision problems. By pressing the button, the offset of the selected DXF entities is automatically computed.
Note: When changing the set of objects in the entity listings, the offset may also change. Therefore it may be necessary to pressagain.
ScaleA scale factor that is applied to the selected entities.
Entity ListingsIn the container on the left side all entities contained in the DXF file are listed. Entities that can be imported as shapes can be moved to the container bottom right. All entities in this container are imported as shapes. Entities can be moved between and inside containers by using drag and drop.
Note: Each entity is marked with an icon on the left side, indicating if this entity can be imported as graph segment, shape, or both.
- Graph only
- Shape only
- Graph or shape
- Entity cannot be imported
Note: The following settings are only of interest when importing graph networks.
Run Generate Bridges Tool after ImportIf enabled, the Generate Bridges Tool is executed on a following wizard page.
Run Simplify Graph Tool after ImportIf enabled, the Simplify Graph Tool is executed on a following wizard page.
Run Graph Cleanup Tool after ImportDepending on the OSM data it may be necessary to cleanup the graph segments after import. If enabled, the graph cleanup tool is executed on a following wizard page.
Create Street/Intersection Shapes from GraphIf enabled, the shape creation parameter of the graph nodes and segments will be enabled and street shapes are created.
Create Block/Lot Shapes from GraphIf enabled, the shape creation parameter of potentially created street blocks will be enabled and shapes are created.
Copyright ©2008-2017 Esri R&D Center Zurich. All rights reserved.