Skip to content
LiberoDraft LiberoDraft Help
Deutsch
Start › D Command reference › Import DXF

Import DXF

Purpose

Reads a DXF file and adds its content to the open drawing. The existing drawing is kept — the import appends, it replaces nothing. DWG files are not read by LiberoDraft itself: for them Import DWG… in the file menu opens the add-on LiberoDWG (DWG and STEP via add-ons).

Access

  • File menu File → “⬆ Import DXF” (2) — the same menu in both interfaces.
  • Command search : “DXF” (category File).
  • A DXF file can also be dragged onto the drawing area with the mouse.
  • No keyboard shortcut.
File menu: (2) Import DXF, (3) Export DXF, (4) DXF profiles…
File menu: (2) Import DXF, (3) Export DXF, (4) DXF profiles…

Procedure

  1. Call the command — the browser file dialog opens, filter .dxf.
  2. Choose the file. LiberoDraft reads it, creates the layers needed and assigns the elements (layers on import).
  3. The view fits to the whole content (Zoom to fit).
  4. The status bar reports “DXF imported: n entities from name.dxf”.
  5. The import overview appears; the check follows.
After the import: outline, axis crosses and bores sit on the layers of the DXF file
After the import: outline, axis crosses and bores sit on the layers of the DXF file

What is read

ContentNote
Lines, circles, arcs, ellipses, polylines, splines, pointsincluding bulge segments (polyline arcs) according to the DXF standard: a positive bulge runs counter-clockwise — a rounded rectangle from another CAD program bulges outwards; circles, arcs and polylines drawn mirrored (extrusion direction −Z) arrive in their correct position
Texts (TEXT and MTEXT) and leaderscentred and right-aligned texts sit at their alignment point; MTEXT arrives without formatting codes, with height, anchor point and direction; text at the arrow is linked to the arrow
Dimensions and hatchesas far as the DXF holds them as objects; the seed point of a hatch does not count as part of its boundary
Blocksare taken over as blocks; an insertion keeps its layer and its Y scale, mirrored blocks stay mirrored
Layers, colours, line typesmapped through the active DXF profile; characters outside Latin-1 in layer names (notation \U+XXXX) are converted back

LiberoDraft converts two-point polylines into lines while reading; the overview notes this.

Effect

The import is one undo step: Ctrl + Z takes it back together with the layers created. The drawing counts as modified afterwards.

  • If inserting fails (for example because of a damaged file), the drawing stays as it was; the status bar reports in red “Name” not inserted — drawing unchanged (reason).
  • Unreadable LiberoDraft data in the DXF (dimensions, hatches, block contents from a LiberoDraft export) are cleaned up: an unreadable value falls back to the default, an element without readable geometry is dropped, and the message starts in red with ⚠ n damaged entries cleaned up · ….
  • If blocks of the DXF bring BOM fields the drawing does not know, they are added.
  • A hatch with more than 200,000 lines appears as a filled area in its colour (Hatch too dense — shown as a fill, increase the spacing).
  • Via Open… the program refuses a DXF from which nothing readable results — the current drawing stays.

Related commands

Related topics