Importing DXF

Import DXF drawings as a site plan, position them and convert DXF layers into pipes

Overview

VICUS Districts imports DXF drawings (e.g. site plans, cadastral extracts, existing-condition plans from CAD programs) as a background drawing. The drawing serves as a reference for route planning; in addition, individual DXF layers can be converted directly into pipes of the network.

VICUS Districts with an imported DXF drawing as a background plan
An imported DXF drawing as a background plan in VICUS Districts

Opening

  • Menu Import > DXF file …
  • alternatively the button DXF in the Import section of the Add geometry panel

Import dialog

OptionDefaultMeaning
NameFile nameDisplay name of the drawing in the navigation tree.
Unit of measurementAutoUnit of the drawing coordinates: Auto, Meter, Decimeter, Centimeter or Millimeter. With Auto, the unit is determined automatically.

Via show detailed settings, further options are available:

OptionMeaning
Import text (experimental)Takes over text elements (labels) from the DXF file.
Define a custom center pointx/y coordinate that is used as the center point of the drawing.
Move drawing to center pointMoves the drawing to the coordinate origin during import – helpful for drawings with very large coordinate values (e.g. state coordinates).

Note on the unit of measurement

Leave the setting on Auto at first. In DXF files, the unit of measurement is often not stored (correctly) and therefore has to be determined automatically. If the scaling factor specified in the file header differs from the automatically determined one, VICUS Districts asks which one should be used. If the drawing appears clearly too small or too large after import, import it again with a different unit of measurement.

Practical tip:

The quickest way to check the scale is against a known distance: measure a real building or property edge in the imported plan and compare it with the actual dimension. A common mistake is plans in millimeters instead of meters – the drawing then appears too large by a factor of 1000. If the scale is wrong, importing again with the correct unit of measurement is usually faster than scaling afterwards.

Editing the drawing

Layer control and display options of the imported DXF drawing
Editing options: show/hide layers, adjust text size and line width

The imported drawing appears in the navigation tree with all layers of the DXF file:

  • Visibility: Show and hide the entire drawing or individual layers via the visibility icons.
  • Display: Double-clicking the drawing in the navigation tree opens the settings for text size and line width.

Moving the drawing

DXF drawing in move mode with yellow sphere and coordinate system
Moving the DXF drawing using the yellow sphere and the local coordinate system
  1. Select the drawing (in the view or in the navigation tree).
  2. Switch to move mode.
  3. Drag the yellow sphere to the desired position.

For very large drawings, the move point can be hard to find. In that case, first place the local coordinate system at a suitable spot on the drawing and move precisely from there. After positioning, cancel the selection with ESC.

Converting DXF layers into pipes

If the DXF file already contains a drawn network route (e.g. from a preliminary design), the pipes do not have to be redrawn:

  1. In the Add geometry panel, switch to the Layer to pipe mode (convert DXF layer into pipe).
  2. Select the DXF layer with the route layout.
  3. The polylines of the layer are taken over as routes (edges) into the active network.

The generated routes can then be edited as usual, connected with consumers and sized.

Video tutorial

Stay up to date

New features, tutorials and updates delivered to your inbox.