HyperWorks Desktop

*MeasureAngle()

Specifies parameters for an angle measurement in the animation window.

*MeasureAngle()

Specifies parameters for an angle measurement in the animation window.

Previous topic Next topic No expanding text in this topic  

*MeasureAngle()

Specifies parameters for an angle measurement in the animation window.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*MeasureAngle(Name, On/Off, Model1, Node1, Model2, Node2,

             Model3, Node3, AngOn/AngOff, XOn/XOff,

             YOn/YOff, ZOn/ZOff, IDOn/IDOff,

             NameOn/NameOff, ShowRads/ShowDegs)

Arguments

Name

Description

 

Name

The measure name.

 

On/Off

On - Displays the measure.

Off - Turns off the measure.

 

Model1

Index of the model containing the first node.

 

Node1

Index of the first node.

 

Model2

Index of the model containing the second node.

 

Node2

Index of the second node.

 

Model3

Index of the model containing the third node.

 

Node3

Index of the third node.

 

AngOn/AngOff

AngOn - Displays the angle's magnitude.

AngOff - Turns off the display of the angle's magnitude.

 

XOn/XOff

XOn - Displays the X projection of the angle measurement.

XOff - Turns off the display of the X projection of the angle measurement.

 

YOn/YOff

YOn - Displays the Y projection of the angle measurement.

YOff - Turns off the display of the Y projection of the angle measurement.

 

ZOn/ZOff

ZOn - Displays the Z projection of the angle measurement.

ZOff - Turns off the display of the Z projection of the angle measurement.

 

NameOn/NameOff

NameOn - Displays the measure name.

NameOff - Turns off the display of the measure name.

 

ShowRads/ShowDegs

Displays radians or degrees.

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

Application

HyperView.

Context

*BeginGraphic()

*BeginMeasure()

See also

 

*BeginGraphic()

*BeginMeasures()

*EndGraphic()

*EndMeasures()

*MeasureDisplacement()

*MeasureDistance()

*MeasurePosition()

List of Session Statements