TechDraw ShareView/en: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
 
(Updating to match new version of source page)
Line 3: Line 3:
{{Docnav
{{Docnav
|[[TechDraw_MoveView|MoveView]]
|[[TechDraw_MoveView|MoveView]]
|[[TechDraw_ProjectShape|ProjectShape]]
|[[TechDraw_ClipGroup|ClipGroup]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_MoveView.svg
|IconL=TechDraw_MoveView.svg
|IconR=TechDraw_ClipGroup.svg
|IconR=TechDraw_ProjectShape.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}
Line 30: Line 30:
# A dialog will open to allow you to select a View, from Page and to Page.
# A dialog will open to allow you to select a View, from Page and to Page.
# Press the {{Button|OK}} button.
# Press the {{Button|OK}} button.

==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.


==Scripting==
==Scripting==
Line 42: Line 46:
TechDrawTools.MoveView(viewName, fromPageName, toPageName, True)
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.




{{Docnav
{{Docnav
|[[TechDraw_MoveView|MoveView]]
|[[TechDraw_MoveView|MoveView]]
|[[TechDraw_ProjectShape|ProjectShape]]
|[[TechDraw_ClipGroup|ClipGroup]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_MoveView.svg
|IconL=TechDraw_MoveView.svg
|IconR=TechDraw_ClipGroup.svg
|IconR=TechDraw_ProjectShape.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}

Revision as of 09:37, 11 September 2022

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 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.

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.

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)