TechDraw SaveDXF

Description
The Export page Dxf tool saves a drawing page as a DXF file

How to use

 * 1) Select a Page in the tree (if the document contains multiple pages).
 * 2) Press the  button
 * 3) A File Save dialog will open.  Select a location and file name.

Limitations

 * Radial and Diameter dimensions will only export properly if they are "inside" the arc.
 * Scaling is not supported. The DXF will be drawn in the actual size of the TechDraw page.
 * Units are not supported. The DXF will be drawn in mm. Dimension text will be shown exactly as displayed in TechDraw.
 * TechDraw can't export a DraftView or an ArchView to DXF. These views are SVG elements generated internally by the Draft Workbench, so there is no geometrical shape to export. To export a view as DXF, it must have been created with TechDraw NewView or TechDraw NewProjGroup. Alternatively, export to DXF from the 3D viewport itself.
 * The title block of a page is an SVG template as well, so it will not be exported to DXF either.
 * In general, TechDraw can only export to DXF those elements that are supported by the class of the Import Module.

Scripting
TechDrawGui API and FreeCAD Scripting Basics.

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