TechDraw ShowAll/fr: Difference between revisions

From FreeCAD Documentation
(Created page with "==Script==")
(Created page with "{{Emphasis|Voir aussi:}} TechDraw API et FreeCAD Scripts de base.")
Line 37: Line 37:
==Script==
==Script==


{{Emphasis|See also:}} [[TechDraw API]] and [[FreeCAD Scripting Basics]].
{{Emphasis|Voir aussi:}} [[TechDraw API/fr|TechDraw API]] et [[FreeCAD Scripting Basics/fr|FreeCAD Scripts de base]].


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

Revision as of 07:43, 17 August 2019

Other languages:


Template:GuiCommand/Fr

Description

L'outil Montrer tout affiche ou masque les lignes invisibles dans une vue. Notez que "invisible" est un état esthétique, à ne pas confondre avec les lignes cachées qui sont des constructions géométriques.

Utilisation

  1. Sélectionnez une vue sur une page ou dans l'arborescence.
  2. Appuyez sur le bouton File:Techdraw-showall.svg Show/Hide invisible edges in a View.
  3. L’état des lignes invisibles dans la vue sera inversé.

Propriétés

L'outil Montrer tout n'a aucune propriété car il ne s'agit pas d'un objet du document.

Script

Voir aussi: TechDraw API et FreeCAD Scripts de base.

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()

Notes