Creates a reference axis line with a tick mark at each reference plane. This module is used with the Absolute Axis Position (SMDwgPositionAxis) positioning module.
Usage in Label Template XML
<label>
<content>
<contentModule value="SMRulerAxisSymbolContent"/>
<contentModuleSettings>
<axisInfo>
<marginDefinition>1</marginDefinition>
<bottom>
<offset>0.03</offset>
<style>Normal</style>
<tickMarkInfo>
<plusX>0.0</plusX>
<minusX>0.01</minusX>
<style>Normal</style>
</tickMarkInfo>
</bottom>
<left>
<offset>0.03</offset>
<style>Normal</style>
<tickMarkInfo>
<plusX>0.0</plusX>
<minusX>0.01</minusX>
<style>Normal</style>
</tickMarkInfo>
</left>
</axisInfo>
</contentModuleSettings>
</content>
</label>
Customization
axisInfo
Contains options for axis graphics.
tickMarkInfo
Contains options for tick mark graphics.
marginDefinition
Specifies the relationship of the grid axes to the drawing view for measuring the margin offset of the axes.
XML value |
||
---|---|---|
At View Frame Measures the margin offset for each axis from the edges of the view SmartFrame, shown as dashed lines in the example. |
0 |
|
At Drawing Area Measures the margin offset for each axis from the edges of the drawing area, shown as solid lines in the example. |
1 |
If you set the frame behavior to Frame resizes to drawing area, then the view frame and the drawing area are the same size, and both values provide the same result, as shown in the following example.
For more information, see Area Tab (Edit Ruleset View Style Dialog Box) in the Drawings and Reports Reference Data Guide.
bottom or top
Specifies the side of the drawing view on which the software draws the horizontal axis. Other properties are defined for this side. Select either Bottom or Top from the Horizontal Ruler Axis Position list. Select None for no horizontal ruler axis to display.
Bottom |
|
Top |
left or right
Specifies the side of the drawing view on which the software draws the vertical axis. Other properties are defined for the side. Select either Left or Right from the Vertical Ruler Axis Position list. Select None for no ruler axis to display.
Left |
|
Right |
offset
Distance of a grid axis from the drawing view. Use offset in combination with the defined axis (bottom, top, left, or right) and the margin definition.
style
Defines the line style for the axis or tick mark. Use style in combination with the defined axis (bottom, top, left, or right) and with the tick mark information.
Line styles are defined in [Reference Data Product Folder]\SharedContent\Drawings\Catalog\templates\Styles.sha.
plusX
Defines the length of the grid tick mark from the axis and toward the drawing view.
minusX
Defines the length of the grid tick mark from the axis and away from the drawing view.
Example