TechDraw ExportPageDXF

TechDraw ExportPageDXF

Menu location
TechDraw → Page → Export Page as DXF
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.18
See also
TechDraw Export Page as SVG, Draft DXF

Description

The TechDraw ExportPageDXF tool saves a drawing page as a DXF file.

Usage

  1. If there are multiple drawing pages in the document: optionally activate the desired page by selecting it in the Tree view.
  2. There are several ways to invoke the tool:
    • Press the Export Page as DXF button.
    • Select the TechDraw → Page → Export Page as DXF option from the menu.
    • If a page is displayed in the Main view area: right-click the page's window and select the Export DXF option from the context menu.
  3. If there are multiple drawing pages in the document and you have not yet activated a page, the Page Chooser dialog box opens:
    1. Select the desired page.
    2. Press the OK button.
  4. The Save DXF file dialog box opens.
  5. Select a location and file name.

Limitations

Notes

Scripting

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

The SaveDXF tool can be used in macros and from the Python console by using the following functions:

TechDraw.writeDXFPage(page,filename)