TechDraw ShareView: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 6: Line 6:
|[[TechDraw_ClipGroup|ClipGroup]]
|[[TechDraw_ClipGroup|ClipGroup]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw-MoveView.svg
|IconL=TechDraw_MoveView.svg
|IconR=TechDraw_ClipGroup.svg
|IconR=TechDraw_ClipGroup.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
Line 32: Line 32:
<!--T:12-->
<!--T:12-->
# (Optional) Select a View, a from Page and a to Page.
# (Optional) Select a View, a from Page and a to Page.
# Press the {{Button|[[Image:TechDraw-CopyView.svg|16px]] [[TechDraw_CopyView|Copy View]]}} button
# Press the {{Button|[[Image:TechDraw_CopyView.svg|16px]] [[TechDraw_CopyView|Copy View]]}} button
# 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.


Line 41: Line 41:


<!--T:16-->
<!--T:16-->
The MoveView tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following functions:
The CopyView tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following functions:


</translate>
</translate>
Line 59: Line 59:
|[[TechDraw_ClipGroup|ClipGroup]]
|[[TechDraw_ClipGroup|ClipGroup]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw-MoveView.svg
|IconL=TechDraw_MoveView.svg
|IconR=TechDraw_ClipGroup.svg
|IconR=TechDraw_ClipGroup.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg

Revision as of 19:17, 15 January 2022

Other languages:

TechDraw CopyView

Menu location
TechDraw → Copy View)
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.19
See also
TechDraw MoveView

Description

The CopyView tool copies a View and all its dependents (Balloons, Dimensions, etc) to a second Page.


Usage

  1. (Optional) Select a View, a from Page and a to Page.
  2. Press the File:TechDraw CopyView.svg Copy View button
  3. A dialog will open to allow you to select a View, from Page and to Page.

Scripting

See also: TechDraw API and FreeCAD Scripting Basics.

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

import TechDrawTools
TechDrawTools.MoveView(viewName, fromPageName, toPageName, True)

Notes

There is only one View object after the copy 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.