TechDraw MoveView: Difference between revisions

From FreeCAD Documentation
No edit summary
(V0.22 -> V1.0)
 
(10 intermediate revisions by 4 users not shown)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
{{Docnav
{{Docnav
|
|[[TechDraw_SpreadsheetView|SpreadsheetView]]
|
|[[TechDraw_ShareView|ShareView]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=
|IconL=TechDraw_SpreadsheetView.svg
|IconR=TechDraw_ShareView.svg
|IconR=
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}


<!--T:11-->
{{VeryImportantMessage|This tool is obsolete, it is not be available in {{VersionPlus|1.0}}.<br>Views can now be dragged and dropped between pages in the [[Tree_view|Tree view]].}}

<!--T:2-->
{{GuiCommand
{{GuiCommand
|Name=TechDraw MoveView
|Name=TechDraw MoveView
|MenuLocation=TechDraw → Move View
|MenuLocation=TechDraw → TechDraw Views → Move View
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|Version=0.20
|Version=0.20
Line 19: Line 24:
}}
}}


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


<!--T:4-->
The MoveView tool moves a View and all its dependents (Balloons, Dimensions, etc) to a different Page.
The '''TechDraw MoveView''' tool moves a View and all its dependents (Balloons, Dimensions, etc) to a different Page.


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


<!--T:6-->
# (Optional) Select a View, a from Page and a to Page.
# Optionally select a View, a from Page and a to Page. The pages must be selected in that order.
# Press the {{Button|[[Image:TechDraw_MoveView.svg|16px]] [[TechDraw_MoveView|Move View]]}} button
# There are several ways to invoke the tool:
#* Press the {{Button|[[Image:TechDraw_MoveView.svg|16px]] [[TechDraw_MoveView|Move View]]}} button.
#* Select the {{MenuCommand|TechDraw → TechDraw Views → [[Image:TechDraw_MoveView.svg|16px]] Move View}} option from the menu.
# 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.


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


<!--T:8-->
{{Emphasis|See also:}} [[TechDraw_API|TechDraw API]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].


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


Line 43: Line 55:




<!--T:10-->
{{Docnav
{{Docnav
|
|[[TechDraw_SpreadsheetView|SpreadsheetView]]
|
|[[TechDraw_ShareView|ShareView]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=
|IconL=TechDraw_SpreadsheetView.svg
|IconR=TechDraw_ShareView.svg
|IconR=
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}

Latest revision as of 10:59, 21 April 2024

Other languages:
This tool is obsolete, it is not be available in version 1.0 and above.
Views can now be dragged and dropped between pages in the Tree view.

TechDraw MoveView

Menu location
TechDraw → TechDraw Views → Move View
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.20
See also
TechDraw ShareView

Description

The TechDraw MoveView tool moves a View and all its dependents (Balloons, Dimensions, etc) to a different 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 Move View button.
    • Select the TechDraw → TechDraw Views → Move 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: Autogenerated API documentation and FreeCAD Scripting Basics.

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

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