Positions labels based on the white space located from the center of the related object and vector. If objects have the same relation object and vector, they are grouped together. This positioning module must be used with the Nozzle (DrawingPGNozzleandBrace) point generator module.
Usage in Label Template XML
<posModules>
<posModule value="DrawingCentroid">
<rOffset>0.0</rOffset>
<labelType>0</labelType>
<rotation>0</rotation>
<fromMatchline>0</fromMatchline>
<granularity>1</granularity>
<labelOffset>0.04</labelOffset>
</posModule>
</posModules>
Customization
rOffset
Determines the distance between a nozzle port and the label annotating the port.
labelType
-
Specifies whether the label is a Nozzle, Top of Equipment/Bottom of Equipment, or Angle label.
1 - Nozzle |
-
Type 0 to place a Nozzle label.
-
Type 1 to place a TOP or BTM label.
-
Type 2 to place an Angle label.
rotation
Determines the angular orientation of the labels. The labels can be aligned horizontally, irrespective of the orientation of the nozzle orientation angle, or the labels can be rotated to match the nozzle orientation angle.
Type -1 to rotate all labels.
Type 0 to force horizontal label angles.
fromMatchline
Determines the inside or outside placement of a label with respect to the matchline boundary. Type -1 to position the labels outside of the matchline boundaries.
1 - Matchline |
Type 0 to position the labels inside of the matchline boundaries.
1 - Matchline |
granularity
Specifies a portion of the height of a label as the basis for the increment used to find clear space in which to position the label.
-
Type 0 to specify a Coarse setting. With a Coarse setting, the software searches an increment of exactly one width and height of the existing label in order to find clear space in which to place the new label.
-
Type 1 to specify a Medium setting. With a Medium setting, the software searches an increment of exactly one-half the width and height of the existing label.
-
Type 2 to specify a Fine setting. With a Fine setting, the software searches an increment of exactly one-third the width and height of the existing label.
1 - Label Offset
2 - Coarse setting
3 - Medium setting
4 - Fine setting
labelOffset
Allows you to specify the distance from a point placed on the model object to the farthest location from the point that the label can be placed. Use the Label Offset property when you want to place the label within quadrants around the point. The point generator calculates the point. The software starts from the point location and looks outward to the limit of the Label Offset distance, and then begins looking for clear space within which to place the label.
1 - Label Offset |
Specify both the horizontal and vertical distances within which to place the label. Both distances must be the same.