*MeasureDisplacement()

Specifies parameters for a displacement measurement in the animation window.

Syntax

*MeasureDisplacement (Name, On/Off, Model, Node, DistOn/DistOff, 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 measure.
Model
Index of the model containing the node.
Node
Index of the node.
DistOn/DistOff
DistOn
Displays the magnitude of the displacement.
DistOff
Turns off the display of the magnitude of the displacement.
XOn/XOff
XOn
Displays the X component of the displacement.
XOff
Turns off the display of the X component of the displacement.
YOn/YOff
YOn
Displays the Y component of the displacement.
YOff
Turns off the display of the Y component of the displacement.
ZOn/ZOff
ZOn
Displays the Z component of the displacement.
ZOff
Turns off the display of the Z component of the displacement.
NameOn/NameOff
NameOn
Displays the measure name.
NameOff
Turns off the display of the measure name.

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()