TechDraw DraftView

TechDraw DraftView

Menu location
TechDraw → Views From Other Workbenches → Insert Draft Workbench Object
Workbenches
TechDraw, Draft
Default shortcut
None
Introduced in version
-
See also
TechDraw ArchView

Description

The TechDraw DraftView tool inserts a view of a selected Part-based or Group object into a drawing page. Unlike the standard View tool, views created with this tool are handled by the Draft Workbench, and specially designed for showing 2D objects. See Notes.

Draft elements like circles and arrays imported into a TechDraw drawing page

Usage

  1. Optionally rotate the 3D view. The camera direction in the 3D view determines the initial value of the DataDirection property of the View.
  2. Select one or more objects in the 3D view or Tree view. A separate view will created for each object.
  3. If there are multiple drawing pages in the document: optionally add the desired page to the selection by selecting it in the Tree view.
  4. There are several ways to invoke the tool:
    • Press the Insert Draft Workbench Object button.
    • Select the TechDraw → Views From Other Workbenches → Insert Draft Workbench Object option from the menu.
  5. If there are multiple drawing pages in the document and you have not yet selected a page, the Page Chooser dialog box opens:
    1. Select the desired page.
    2. Press the OK button.

Options

Notes

The DraftView is rendered within the Draft Workbench, therefore TechDraw has limited control over its appearance. You may need to make changes within Draft to get the representation you want.

Properties

See also: Property editor.

A Draft View, formally a TechDraw::DrawViewDraft object, has the properties that are common to all View types. It also has the following additional properties:

Data

Draft view

Drawing view

Scripting

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

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

dv = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewDraft','TestDraft')
dv.Source = myDraftbject
rc = page.addView(dv)