Jump to content

TechDraw ShowAll

From FreeCAD Documentation
Revision as of 20:08, 26 July 2023 by Roy 043 (talk | contribs) (Marked this version for translation)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)

TechDraw ShowAll

Menu location
TechDraw → Add Lines → Show/Hide Invisible Edges
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.19
See also
TechDraw DecorateLine

Description[edit | edit source]

The TechDraw ShowAll tool is intended to temporarily show, and then hide, invisible lines in a View. Lines can be made invisible with the TechDraw DecorateLine tool. Note that "invisible" is a cosmetic state, not to be confused with hidden lines which are geometric constructs.

Usage[edit | edit source]

  1. Select a View with invisible lines on a Page or in the Tree view.
  2. There are several ways to invoke the tool:
    • Press the Show/Hide Invisible Edges button.
    • Select the TechDraw → Add Lines → Show/Hide Invisible Edges option from the menu.
  3. All invisible lines in the View are either shown or hidden.

Notes[edit | edit source]

Scripting[edit | edit source]

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

The effect of the ShowAll tool can be duplicated in macros or the Python console.

v = App.ActiveDocument.View
vvo = v.ViewObject
vvo.ShowAllEdges = True
App.ActiveDocument.recompute()