poIPost GetDefaultMeasureType
Gets the default measure type used when creating new measures.
Syntax
poIPost_handle GetDefaultMeasureType
Application
HyperView Tcl Query
Description
This command returns the measure default type when creating new measures. Options include: Position, Relative Displacement, Distance Between, Incremental Distance, Relative Angle, Angle Between, Incremental Angle, Static MinMax Result, Dynamic MinMax Result, Nodal Contour, Elemental Contour, Component Contour, Node Path, Circle Radius, and Yaw Pitch Roll.
Example
To get the default measure type:
Note: This example assumes that the d3plot file
(demos/mv_hv_hg/animation/dyna/bumper) has been
loaded.
variable t [expr rand()];
hwi GetActiveClientHandle cl$t
set measid [cl$t AddMeasure "Circle Radius"]
cl GetMeasureHandle meas$t $measid
meas$t AddNode 516
meas$t AddNode 226
meas$t AddNode 242
cl$t Draw
meas$t GetType
cl$t GetDefaultMeasureType
meas$t ReleaseHandle
cl$t ReleaseHandle
Errors
None.