TechDraw ShowAll: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 16: Line 16:
|Name=TechDraw ShowAll
|Name=TechDraw ShowAll
|MenuLocation=TechDraw → ShowAll
|MenuLocation=TechDraw → ShowAll
|Workbenches=[[TechDraw Module|TechDraw]]
|Workbenches=[[TechDraw_Module|TechDraw]]
|SeeAlso=[[TechDraw_DecorateLine|Change Appearance of Line(s)]]
|SeeAlso=[[TechDraw_DecorateLine|TechDraw Change Appearance of Line(s)]]
|Version=0.19
|Version=0.19
}}
}}
Line 41: Line 41:


<!--T:10-->
<!--T:10-->
{{Emphasis|See also:}} [[TechDraw API|TechDraw API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].
{{Emphasis|See also:}} [[TechDraw_API|TechDraw API]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].


<!--T:11-->
<!--T:11-->
The effect of the ShowAll tool can be duplicated in [[macros|macros]] or the [[Python|Python]] console.
The effect of the ShowAll tool can be duplicated in [[Macros|macros]] or the [[Python|Python]] console.
</translate>
</translate>
{{Code|code=
{{Code|code=

Revision as of 21:44, 22 November 2020

TechDraw ShowAll

Menu location
TechDraw → ShowAll
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.19
See also
TechDraw Change Appearance of Line(s)

Description

The ShowAll tool shows or hide invisible lines in a View. Note that "invisible" is a cosmetic state, not to be confused with hidden lines which are geometric constructs.

Usage

  1. Select a View on a Page or in the tree.
  2. Press the Show/Hide Invisible Edges button
  3. The state of the invisible lines in the View will be reversed.

Properties

The ShowAll tool has no properties, as it is not a Document Object.

Scripting

See also: TechDraw API 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()