TechDraw ShareView

From FreeCAD Documentation
Revision as of 19:58, 6 February 2022 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Other languages:
Deutsch • ‎English • ‎français • ‎polski
Arrow-left.svg Previous: TechDraw MoveView.svg MoveView
Next: ClipGroup TechDraw ClipGroup.svg Arrow-right.svg

TechDraw ShareView.svg TechDraw ShareView

Menu location
TechDraw → Share View
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.20
See also
TechDraw MoveView

Description

The TechDraw ShareView.svg 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 TechDraw ShareView.svg Share View button.
    • Select the TechDraw → TechDraw ShareView.svg 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.


Arrow-left.svg Previous: TechDraw MoveView.svg MoveView
Next: ClipGroup TechDraw ClipGroup.svg Arrow-right.svg