Places labels on the segment ends of a linear object. Each vertical or horizontal segment and both clipped sides are labeled.
Usage in Label Template XML
<geometricAnalyzerSettings>
<gaModule>DrawingGAEndOfSegment</gaModule>
<allowNonOrthogonalDirections>-1</allowNonOrthogonalDirections>
<ignoreClippingForGrouping>0</ignoreClippingForGrouping>
<maxOffsetForGrouping>0.1</maxOffsetForGrouping>
<ignoreOffsetForGrouping>0</ignoreOffsetForGrouping>
<equivalenceLabel>"Piping Plan_FlowArrow_LongestSegment.rtp"</equivalenceLabel>
</geometricAnalyzerSettings>
Customization
allowNonOrthogonalDirections
Allows you to specify that the software places a label on objects that are non-orthogonal, that is, neither horizontal nor vertical on the drawing sheet.
Type -1 to place the label.
1 - Non-orthogonal pipe with label |
Type 0 to suppress the label.
1 - Unlabeled non-orthogonal pipe |
ignoreClippingForGrouping
Allows you to turn off duplicate labels on straight features that are clipped on both sides.
Type 0 to turn off duplicate labels. Type -1 to allow duplicate labels.
maxOffsetForGrouping
Specifies the maximum distance between consecutive endpoints of linear objects.
The system uses the specified distance for grouping label points together, grouping points that consecutively fall within the specified maximum offset into a particular set. The software then creates one label per set. Conversely, the system creates a separate label for each point that lies at a greater distance from the closest linear points than the specified Maximum Offset for Grouping value.
The distance that you specify must take into account inline features, such as pipe valves. Therefore, the specified value must be high enough that the system does not create labels on both sides of each inline feature.
The default distance is 0.1 m.
-
Specify 0 or a positive decimal value for this distance.
-
In contrast to the majority of properties, the software interprets the distance that you specify as model space units and not as paper space units.
Example
Although a content module creates the annotation output, this example shows how this module affects the output.
ignoreOffsetForGrouping
Specifies whether the software honors the offset value for the Maximum Offset for Grouping property. When selected, this option honors the offset distance, forcing the software to create separate labels when the distance between consecutive endpoints of linear objects is greater than the Maximum Offset for Grouping.
Type -1 to ignore the offset distance. Type 0 to honor the offset distance.
equivalenceLabel
Eliminates duplicate labels on pipelines with multiple segments.
When the Equivalence Label property is used with the End of Segment geometric analyzer and the pipeline is clipped, the software places a label at each end of the pipe segment. Conversely, when the Equivalence Label property is used with the Longest Segment geometric analyzer and the pipeline is clipped, a label is placed at the end of the longest line segment.