Synopsis
Creates a leader object. The positioning of leaders is based on the local X-Y plane. The Leader itself can be positioned, or it can rely on its parent. The points that are referenced need not be in the dimension plane. Placement of text, arrows, and leader lines is currently automatic.
Note that many of the controls for dimensions are provided through several mixins.
Parameters
| Name |
Type |
Description |
| pointList |
list |
List of points to define the path of the leader line. |
Rules
| Name |
Type |
Description |
| projectedPointList |
any |
The points in pointList projected into the XY (Z=0) plane. |
See Also: InkLeaderMixin
Leader_Ex01
| Child Name: |
leader_1
|
| Child Design: |
:leader
|
|
Name
|
Type
|
Supplied
|
| pointList |
list |
{point(1,1,0), point(0,0,0)} |
| arrowSize |
number |
0.15 |
Leader_Ex02
| Child Name: |
leader_1
|
| Child Design: |
:leader
|
|
Name
|
Type
|
Supplied
|
| pointList |
list |
{point(1,1,0), point(0,0,0)} |
| arrowSize |
number |
0.15 |
| Child Name: |
leaderText
|
| Child Design: |
:text
|
|
Name
|
Type
|
Supplied
|
| eLeft |
point |
first(leader.pointList) + unitX * 0.1 |
| text |
string |
"Typ" |
| charHeight |
number |
0.18 |