vidIVideo GetUseUnits

Gets a flag which indicates whether lengths and annotations of measures to be reported in the user defined units.

Syntax

vidIVideo_handle GetUseUnits

Application

HyperWorks Tcl Query

Description

Gets a flag which indicates whether the annotations of measures lengths and endpoint coordinates are reported using the user defined unit system and conversion factor, or in pixels.

Example

hwi OpenStack;
hwi GetSessionHandle sess1;
sess1 GetProjectHandle proj;
proj GetPageHandle page1;
page1 GetWindowHandle win1 1;
win1 GetClientHandle vid
vid AddMovie "c:/video/Marker/data/barrier0411.amf"
vid AddTrackingMarker mark1;
mark1 SetTrackPoint 84 122;
mark1 SetName Hello1
mark1 GetID
vid AddTrackingMarker mark2;
mark2 SetTrackPoint 282 178;
mark2 SetName Hello2
vid CalculateTrackingData;
vid GetMovieHandle movie 1
movie SetCSPoint1 Hello1
movie SetCSPoint2 Hello2
vid AddMeasure dynamic
vid GetMeasureHandle meas 1
meas SetMarker1ID 1
meas SetMarker1ID 2
vid GetUseUnits;
hwi CloseStack; 

Errors

Returns a value of true or false.

Keywords

  • HyperWorks
  • MediaView
  • Tracing
  • Tracking System