TechDraw LeaderLine

Description
The 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

 * 1) Select a view.
 * 2) Press the  button. A dialog will open allowing to draw the leaderline and assigning end symbols to the line.
 * 3) Click on  and then click into the page to define the starting point of the line.
 * 4) Move the mouse and click on another point to create a line.
 * 5) Now you can either
 * 6) finish the line drawing by double-clicking or pressing.
 * 7) add further points to define more line segments.
 * 8) To finish the creation, press  to close the dialog.

Note: If you did not define any points when creating the leaderline, a short line will be placed at the center of the view.

Editing

 * 1) Select the Leaderline in the document tree and double-click on it.
 * 2) A dialog will open where you can change the appearance.
 * 3) To edit the points, click on  and the line points become visible in the drawing.
 * 4) Drag the points to a place you like and finish the change by clicking on.

Properties

 * : The point at which the leaderline is connected to the View.
 * : The View to which the leader is attached.
 * : The symbol at the start: [[Image:Arrownone.svg|20px]] None, [[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
 * : The symbol at the end.
 * : Nodes on the leaderline.
 * : Leader scales with Leader Parent.
 * : Forces last leaderline segment to be horizontal.
 * : Pen colour for the leaderline.
 * : 0 NoLine, 1 [[Image:Continuous-line.svg|20px]] Continuous, 2 [[Image:Dash-line.svg|20px]] Dash, 3 [[Image:Dot-line.svg|20px]] Dot, 4 [[Image:DashDot-line.svg|20px]] DashDot, 5 [[Image:DashDotDot-line.svg|20px]] DashDotDot
 * : Width of leaderline.

Scripting
TechDraw API and FreeCAD Scripting Basics.

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