Draft SetWorkingPlaneProxy

Description
This command will place a Plane Proxy object aligned to the current Working Plane.

This proxy object can be used like a face to quickly change the working plane using the Draft SelectPlane tool. The camera position and visibility property of the objects in the 3D view can be stored in the proxy object, and can be restored when using the Draft SelectPlane tool.



How to use

 * 1) Make sure the Working Plane is set as you want.
 * 2) Go to the menu.

The working plane stored in the Proxy object can be restored by double-clicking the object in the tree view, or by selecting the Proxy object and using the.

Notes:
 * The position of the camera is stored in the Proxy object upon creation. This position can be updated anytime by right-clicking the Proxy object in the tree view, and selecting "Write camera position".
 * The visibility state of all objects in the current document is also stored in the Proxy object upon creation. This state can be updated anytime by right-clicking the Proxy object in the tree view, and selecting "Write objects state".
 * The size and appearance of the proxy object can be set in the view properties.
 * Plane proxies can be manipulated, moved and rotated, like any other FreeCAD object, so that they are in the desired position.

Data

 * : specifies the position of the proxy object and the corresponding working plane.
 * : specifies the coordinates of the proxy object.
 * : specifies the rotation angle of the proxy object.
 * : specifies the axis to use for the rotation angle.

View

 * : specifies the size of the proxy object in the 3D view. If the proxy object is created in the tree view but no element is visible, increase this value until it is visible.
 * : specifies the size of the arrows indicating the three axes of the plane proxy.
 * : if it is the camera position will be restored to the saved position when using the proxy with  or by double-clicking on it.
 * : if it is the visibility state of all objects will be restored to the saved state when using the proxy with  or by double-clicking on it. If new objects are added to the document after the state was stored in the Proxy object, the visibility of these new objects will be unchanged.

Scripting
Draft API and FreeCAD Scripting Basics.

Working plane proxy objects can be used in macros and from the Python console by using the following function:


 * Creates a object from the given  which is a.
 * A placement is defined by a base point, given by its, and a.

The size of the Plane Proxy can be changed by overwriting its and  attributes, with units in millimeters.

The Plane Proxy has a "Face" object as its attribute. This face can be used to set the current working plane by calling its method.

Example: