SoDiagram2DRuler¶
- InventorModule¶
genre
author
package
dll
definition
see also
inherits from
keywords
Purpose¶
The module SoDiagram2DRuler measures distances in a diagram interactively.
Usage¶
Grab the first or the second point with the mouse and move it to the desired position.
Windows¶
Default Panel¶
Output Fields¶
self¶
- name: self, type: SoNode¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Visible Fields¶
Drawing enabled¶
- name: isEnabled, type: Bool, default: TRUE¶
If checked, the module draws the interactively set ruler.
see also SoDiagram2DExtension.isEnabled
Editing enabled¶
- name: isEditingEnabled, type: Bool, default: TRUE¶
If checked, the module allows for an interactive setting of the ruler in the diagram.
Cursor Shape¶
- name: cursorShape, type: Enum, default: MOVE_ALL_CURSOR¶
X1¶
- name: x1, type: Double, persistent: no¶
Shows the x-coordinate of the first point of the ruler.
Y1¶
- name: y1, type: Double, persistent: no¶
Shows the y-coordinate of the first point of the ruler.
X2¶
- name: x2, type: Double, persistent: no¶
Shows the x-coordinate of the second point of the ruler.
Y2¶
- name: y2, type: Double, persistent: no¶
Shows the y-coordinate of the second point of the ruler.
Delta X¶
- name: deltaX, type: Double, persistent: no¶
Shows the x-distance in diagram space between the two points of the ruler.
Delta Y¶
- name: deltaY, type: Double, persistent: no¶
Shows the y-distance in diagram space between the two points of the ruler.
Distance¶
- name: distance, type: Double, persistent: no¶
Shows the distance in diagram space between the two points of the ruler.
Color1¶
- name: color1, type: Color, default: 0.670000016689301 1 1¶
Sets the color of the first point of the ruler.
Color2¶
- name: color2, type: Color, default: 0.670000016689301 1 0.5¶
Sets the color of the second point of the ruler.
Reset¶
- name: reset, type: Trigger¶
When pressed, the ruler flips into its default position.