*MeasurePosition()

Specifies parameters for a position measurement in a graphic window.

Syntax

*MeasurePosition (Name, On/Off, Model, Node,XOn/XOff, YOn/YOff, ZOn/ZOff, IDOn/IDOff, NameOn/NameOff)

Application

HyperView

Inputs

Name
The measure name.
On/Off
On
Displays the measure.
Off
Turns off the display of the measure.
Model
Index of the model containing the node.
Node
Index of the node.
XOn/XOff
XOn
Displays the X coordinate of the position.
XOff
Turns off the display of the X coordinate of the position.
YOn/YOff
YOn
Displays the Y coordinate of the position.
YOff
Turns off the display of the Y coordinate of the position.
ZOn/ZOff
ZOn
Displays the Z coordinate of the position.
ZOff
Turns off the display of the Z coordinate of the position.
NameOn/NameOff
NameOn
Displays the name of the measure.
NameOff
Turns off the display of the measure.

Context

*BeginGraphic()

*BeginMeasure()

Example

To show the displacement of a selected node from its original position:
*BeginGraphic()
 *BeginMeasures()
     *MeasureDistance("Measure 1", NameOn, 
                       0, 1076, 0, 941, DistOn, 
                       XOff, YOff, ZOff, IDOn, NameOn)
     *MeasureDisplacement("Measure 2", NameOn, 
                           0, 1453, DistOff, XOn, 
                           YOn, ZOn, IDOff, NameOff)
     *MeasureAngle("Measure 3", NameOn, 
                    0, 1028, 0, 843, 0, 205, 
                    AngOn, XOff, YOff, ZOn, IDOff, 
                    NameOff, ShowRads)
     *MeasurePosition("Measure 4", NameOn, 
                       0, 379, XOn, YOn, ZOn, 
                       IDOff, NameOff)
 *EndMeasures()
*EndGraphic()