TechDraw ExportPageDXF/en

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:
 * 3) * Press the button.
 * 4) * Select the option from the menu.
 * 5) * If a page is displayed in the Main view area: right-click the page's window and select the option from the context menu.
 * 6) If there are multiple drawing pages in the document and you have not yet activated a page, the  dialog box opens:
 * 7) Select the desired page.
 * 8) Press the  button.
 * 9) The  dialog box opens.
 * 10) 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 millimeters (mm). Dimension text will be shown exactly as displayed in TechDraw.
 * TechDraw can't export a Insert Draft Workbench Object or an Insert Arch Workbench Object 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 Insert View or Insert Projection Group. For example, select an Arch SectionPlane, then use Draft Shape2DView to create a flat projection shape, and then use Insert View on this object. Alternatively, select the objects from the tree view or the 3D viewport, and export to DXF using.
 * 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
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: