TechDraw MoveView/en: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
 
(Updating to match new version of source page)
Line 33: Line 33:
==Scripting==
==Scripting==


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


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:

Revision as of 14:34, 18 November 2022

TechDraw MoveView

Menu location
TechDraw → 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 → 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)