TechDraw LeaderLine

Description
The TechDraw LeaderLine tool adds a line to a View. Other annotation objects (such as Rich Text Annotations) can be connected to the leaderline to form complex annotations.



Usage create

 * 1) Select a View.
 * 2) There are several ways to invoke the tool:
 * 3) * Press the button.
 * 4) * Select the option from the menu.
 * 5) A task panel opens.
 * 6) Press the  button.
 * 7) Pick the first point on the page to define the start point of the line.
 * 8) Pick the next point on the page. Hold down  to snap to multiples of 22.5° angles. Optionally use a double-click instead of a single-click to finish entering points.
 * 9) Optionally add more points.
 * 10) If you have not double-clicked a point: press the  button.
 * 11) Optionally change the Start Symbol, End Symbol, Color, Width and Style of the leader. See Properties for more information.
 * 12) Press the  button.

Usage edit

 * 1) Double-click a Leaderline in the Tree view.
 * 2) A task panel opens.
 * 3) To edit the points:
 * 4) Press the  button.
 * 5) The Leaderline is marked with temporary nodes.
 * 6) Drag one or more of the nodes to a new position.
 * 7) Press the  button.
 * 8) Optionally change the Start Symbol, End Symbol, Color, Width and Style of the leader. See Properties for more information.
 * 9) Press the  button.

Data

 * : The symbol at the start of the leaderline. Options: [[Image:Arrowfilled.svg|20px]] Filled Arrow, [[Image:Arrowopen.svg|20px]] Open Arrow, [[Image:Arrowtick.svg|20px]] Tick, [[Image:Arrowdot.svg|20px]] Dot, [[Image:arrowopendot.svg|20px]] Open Circle, [[Image:arrowfork.svg|20px]] Fork, [[Image:arrowpyramid.svg|20px]] Filled Triangle, None.
 * : The symbol at the end of the leaderline. Idem.
 * : The X coordinate of the leaderline relative to the View.
 * : The Y coordinate of the leaderline relative to the View.


 * : The View the leaderline is attached to.
 * : The points of the leaderline.
 * : Specifies if the leaderline scales with.
 * : Specifies if the last leaderline segment is forced to be horizontal.

View

 * : Not used.
 * : Over or underlap relative to other drawing objects.


 * : The color of the leaderline.
 * : The style of the leaderline. Options: NoLine, [[Image:Continuous-line.svg|20px]] Continuous, [[Image:Dash-line.svg|20px]] Dash, [[Image:Dot-line.svg|20px]] Dot, [[Image:DashDot-line.svg|20px]] DashDot, [[Image:DashDotDot-line.svg|20px|Length]] DashDotDot.
 * : The width of the leaderline.

Scripting
See also: Autogenerated API documentation and FreeCAD Scripting Basics.

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