Places a leader line between the label and the drawing object. The style tag determines which dimension style to use from styles.sha, while the breakline tag determines whether or not to place a job in the leader. A value of -1 is true and places a jog in the leader, while a value of 0 does not place a jog.
Usage in Label Template XML
<label>
<leaderSettings>
<leaderModule>DwgLeaderControl</leaderModule>
<style>ANSI</style>
<breakline>-1</breakline>
<connectToNewestTextBox>-1</connectToNewestTextBox>
<disableAutoDelete>-1</disableAutoDelete>
<ignoreLeaderCrossings>-1</ignoreLeaderCrossings>
</leaderSettings>
</label>
Customization
style
Defines the appearance of a leader line.
-
ANSI: Applies a thin, solid, dark cyan line style with a filled arrow terminator to the leader line.
-
ANSI_FRACTIONAL: Applies a thick, solid, dark cyan line style with a filled arrow terminator to the leader line.
-
ANSI_NOARROW: Applies a thick, solid, dark cyan line style with no terminator to the leader line.
-
JIS: Applies a thick, solid, dark cyan line style with a large, open arrow terminator to the leader line.
-
ISO: Applies a thick, solid, dark cyan line style with a large, filled arrow terminator to the leader line.
-
DIN: Applies a thick, solid, dark cyan line style with a large, filled arrow terminator to the leader line.
-
ASA: Applies a thick, solid, dark cyan line style with a filled arrow terminator to the leader line.
-
BSI: Applies a thick, solid, dark cyan line style with a large, filled arrow terminator to the leader line.
To manually edit the .xml, specify the style that you want applied to the leader line.
breakline
Controls whether or not a breakline appears for the label. The breakline normally connects the leader line to the label.
Type -1 to place a leader jog.
Type 0 to omit the jog.
You cannot place breaklines with acute leader jog angles when automatically generating labels. However, you can manually place breaklines with acute leader jog angles within SmartSketch by updating the view, then selecting a leader and clicking BreakLine .
connectToNewestTextBox
Controls whether the leader line originates from the newest text box or the oldest text box in a compound label.
disableAutoDelete
Controls the visibility of the leader line of a label when the distance from the label to the corresponding connect point is less than half the label height.
Type -1 to retain the leader line.
1 - Label with leader line |
Type 0 to turn off the leader line.
1 - Label with no leader line |
ignoreLeaderCrossings
Renders the leader line of a label as invisible to other annotations.
Type -1 to allow leader lines and other annotations to intersect.
Type 0 to render the leader line visible to other annotations.