Name: DrawingMarginOnly
Annotation Output: Label
Description: Positions labels in the margin. If the object is clipped, the label is positioned
in the same margin as the clipped object. If the object is linear, the label is positioned
in the margin that has the same linear direction.
Usage in Label Template XML
<posModules>
<posModule value="DrawingMarginOnly">
<orientation>1</orientation>
<perimeterOffset>0.01</perimeterOffset>
</posModule>
</posModules>
Customization
orientation
Allows you to specify the positional orientation of the label with respect to the labeled object.
Manual .xml edits depend on the module that you use, as follows.
Positioning Module |
XML Value |
Corresponding |
---|---|---|
Absolute XY Offset |
1 |
Up |
2 |
Down |
|
3 |
Left |
|
4 |
Right |
|
Absolute Grid Margin |
1 |
Top |
2 |
Bottom |
|
3 |
Left |
|
4 |
Right |
|
Clear Space Coordinate |
0 |
Horizontal |
1 |
Vertical |
|
Clear Space Grid Horizontal |
3 |
Left |
4 |
Right |
|
Clear Space Grid Margin |
1 |
Top |
2 |
Bottom |
|
3 |
Left |
|
4 |
Right |
|
Clear Space Grid Vertical |
1 |
Top |
2 |
Bottom |
|
Clear Space Margin with Dimensions, |
0 |
Auto |
1 |
Top |
|
2 |
Bottom |
|
3 |
Left |
|
4 |
Right |
|
Clear Space Margin with Dimensions, |
5 |
Longitudinal |
6 |
Transversal |
|
Point Generator |
XML Value |
Corresponding Placement |
Local CS Origin with Object Axis |
5 |
Longitudinal |
Local CS Origin with Object Axis, only for Equipment |
6 |
Transversal |
perimeterOffset
Specifies either the distance from the edge of the view to the dimension line, or the distance from the edge of the view to the edge of the label that is closest to the view.
1 - Perimeter offset distance |