Stratal CAD

Importing and exporting DXF

Help centre · Sheets, plotting and exchange

Open DXF files from other programs, add their contents to a drawing, or write your drawing as DXF, with a report of everything that did not travel in full, for anyone exchanging 2D drawings.

Before you start

Steps: open a DXF file

  1. Choose File > Open… (Ctrl+O) and pick the .dxf file.
  2. It opens as a new drawing in the file's units. The DXF open report says how many objects were read, what was not read and what was read with changes.
  3. Click Save: Stratal CAD asks for a Stratal file name (.stcad), so the DXF file itself is never overwritten.

Steps: import into the current drawing

  1. Open the drawing to add to.
  2. Choose File > Import DXF…, or Import DXF… in the Exchange group of the Output tab.
  3. Pick the file. Its contents are added as one step that a single Undo removes.
  4. The DXF import report lists the units conversion, layouts, new layers and anything not imported in full.

Steps: export

  1. Choose File > Export DXF…, or Export DXF… on the Output tab.
  2. Choose the file name. For a program that reads only older DXF, choose the version 2000 file type in the save dialog. The dialog offers the type you chose last time, and File > Settings… > Files > DXF version sets the default.
  3. The status bar says how many objects were written. If anything was left out or changed, the DXF export report says so, with a fidelity for the whole file: Full, Lossy or Unsupported.

Exporting never changes the drawing. The file is written in the background behind a progress window; Stop cancels it, and the file is written whole or not at all.

What comes in

What does not come in

3D solids, surfaces, regions and meshes (their data cannot be read), DGN and DWF underlays, OLE objects, tables (they come in as their lines and text), and some dimension types (as their lines, arrows and text). Every one is counted in the report, never dropped silently.

What goes out

Units, layers, text, multiline text, leaders, multileaders (version 2013 only), dimensions with every dimension style, text styles, hatches, blocks, images, wipeouts and layouts with their viewports, frozen layers, sheet objects, plot settings and named page setups. Annotative objects are written at the current annotation scale as ordinary objects; Stratal CAD reads their scales back from the file. 3D solids are not written to DXF: use STEP. Sketches on the XY plane go out as their curves.

Manufacturing export

MFGEXPORT (Output tab, Exchange group) writes the drawing to DXF, PDF or both for a fabricator, with a mapping file beside them.

  1. At "Export [Dxf/Pdf/Both/MarkDangling] <Both>:" choose the files. MarkDangling draws dimensions whose model feature is gone in amber in both files.
  2. For a PDF, at "Sheet: a layout name, or Enter for model space fitted to ISO A3:" type a layout name or press Enter.
  3. At "File name (the .dxf, .pdf and -mapping.csv go beside each other):" type a name. A name without a folder is put next to the drawing.

<name>-mapping.csv has a row for each object: what it became in each file, whether it was plotted and, if not, why (for example a layer that is off), and what did not travel.

Damaged DXF files

File > Recover… reads what is left of a damaged DXF file into a new, unsaved drawing. Each repair is listed with its line number, objects that cannot be read are left out whole, and the damaged file is not changed.

Tips and common mistakes

Troubleshooting

Message or symptom What it means and what to do
"Drawing could not be opened" with a line number The file is damaged or cut short and nothing was opened. Use File > Recover….
"DXF import failed" ... "was not imported; the drawing is unchanged." The reason follows. A damaged file is refused with the line of the problem.
A DXF file saved as UTF-16 text, or another format renamed .dxf, is refused Save it again as ordinary DXF from the program that made it.
"Finish or cancel the active operation before exporting." Press Esc, then export again.
"Replace file?" A file of that name exists. Click Yes to overwrite it.
"Give a full path: the drawing is not saved yet." (MFGEXPORT) Save the drawing, or type a full path such as C:\Jobs\part.

Related

Related

Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.