Places a label on the longest segment of a linear object.
Usage in Label Template XML
<geometricAnalyzerSettings>
<gaModule>DrawingGALongestSegment</gaModule>
<allowNonOrthogonalDirections>-1</allowNonOrthogonalDirections>
<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 |
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.
Example
The longest segment of pipe is labeled.
Although a content module creates the annotation output, this example shows how this module affects the output.