TechDraw Copier une vue

From FreeCAD Documentation
Revision as of 21:51, 8 February 2022 by David69 (talk | contribs) (Created page with "{{GuiCommand/fr |Name=TechDraw ShareView |Name/fr=TechDraw Partager une vue |MenuLocation=TechDraw → Partager une vue |Workbenches=TechDraw |Versio...")
Other languages:

TechDraw Partager une vue

Emplacement du menu
TechDraw → Partager une vue
Ateliers
TechDraw
Raccourci par défaut
Aucun
Introduit dans la version
0.20
Voir aussi
TechDraw Déplacer une vue

Description

The TechDraw ShareView tool makes a View and all its dependents (Balloons, Dimensions, etc) visible on a second Page.

Usage

  1. Optionally select a View, a from Page and a to Page. The pages must be selected in that order.
  2. There are several ways to invoke the tool:
    • Press the Share View button.
    • Select the TechDraw → Share View option from the menu.
  3. A dialog will open to allow you to select a View, from Page and to Page.
  4. Press the OK button.

Scripting

See also: TechDraw API and FreeCAD Scripting Basics.

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

import TechDrawTools
#MoveView with a True parameter in the last position performs a copy
TechDrawTools.MoveView(viewName, fromPageName, toPageName, True)

Notes

There is only one View object after the share operation. Any changes made to the View will be reflected in both Pages. If the View is deleted from one Page it will also be deleted from the other.