TechDraw ShareView: Difference between revisions

From FreeCAD Documentation
No edit summary
(Marked this version for translation)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
{{Docnav
{{Docnav
|[[TechDraw_MoveView|MoveView]]
|[[TechDraw_MoveView|MoveView]]
Line 11: Line 12:
}}
}}


<!--T:2-->
{{GuiCommand
{{GuiCommand
|Name=TechDraw ShareView
|Name=TechDraw ShareView
Line 19: Line 21:
}}
}}


==Description==
==Description== <!--T:3-->


<!--T:4-->
The [[Image:TechDraw_ShareView.svg|24px]] '''TechDraw ShareView''' tool makes a View and all its dependents (Balloons, Dimensions, etc) visible on a second Page.
The [[Image:TechDraw_ShareView.svg|24px]] '''TechDraw ShareView''' tool makes a View and all its dependents (Balloons, Dimensions, etc) visible on a second Page.


==Usage==
==Usage== <!--T:5-->


<!--T:6-->
# Optionally select a View, a from Page and a to Page. The pages must be selected in that order.
# Optionally select a View, a from Page and a to Page. The pages must be selected in that order.
# There are several ways to invoke the tool:
# There are several ways to invoke the tool:
Line 32: Line 36:
# Press the {{Button|OK}} button.
# Press the {{Button|OK}} button.


==Scripting==
==Scripting== <!--T:7-->


<!--T:8-->
{{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:9-->
The ShareView tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following functions:
The ShareView tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following functions:


Line 46: Line 52:
<translate>
<translate>


==Notes==
==Notes== <!--T:10-->


<!--T:11-->
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.
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.




<!--T:12-->
{{Docnav
{{Docnav
|[[TechDraw_MoveView|MoveView]]
|[[TechDraw_MoveView|MoveView]]

Revision as of 19:58, 6 February 2022

Other languages:

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.

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.