TechDraw Dimension Link

Description
The Dimension Link tool creates a link between 3D geometry and 1 or more Dimensions on a Page. This link allows the Dimension to use actual 3D values instead of 2D projected values.

How to use

 * 1) Create an appropriate dimension on the drawing page using any of [TechDraw_Dimension_Length|Dimension Length]], [[TechDraw_Dimension_Horizontal|Dimension Horizontal], etc.  This dimension will be in the right place on the Page, but will show the projected dimension value.
 * 2) Select the geometry in the 3D view, for example, an edge, that corresponds to the projected geometry of your dimension.
 * 3) Press the  button.
 * 4) A dialog will open. Select one or more Dimensions to be linked to the selected 3D geometry.
 * 5) Press.

After the link operation is completed the property of the dimension changes from  to.

Limitations
Dimension objects are vulnerable to "topological naming" issues. See the information in the TechDraw Dimension Length tool for more information. It is recommended that linking dimensions be one of the last steps in your drawing process.

The link tool will not stop you from making illogical links, so you need to choose the correct edge from the 3D view when creating the link.

There is currently no way to break a link; you can change the back to  so that the dimension will use the projected value instead of the linked value.

Note that if the Dimension to be linked is based on two vertices, you should select two vertices in the 3D view. Similarly if the Dimension is based on an edge, you should select an edge in the 3D view.

Properties

 * 1) The MeasureType property of a linked Dimension will be changed from "Projected" to "True".

Scripting
TechDraw API and FreeCAD Scripting Basics.

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