vidIVideo GetUseTracking

Returns a flag specifying whether a coordinate system, if defined, will be used in calculating measures.

Syntax

vidIVideo_handle GetUseTracking

Application

HyperWorks Tcl Query

Description

This command returns a boolean flag specifying whether a coordinate system, if defined, will be used in calculating measure information such as endpoint location and length.

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
vid AddTrackingMarker mark2;
mark2 SetTrackPoint 282 178;
mark2 SetName Hello2
vid CalculateTrackingData;
vid GetMovieHandle movie 1
movie SetCSPoint1 Hello1
movie SetCSPoint2 Hello2
vid SetUseTracking true;
vid GetUseTracking; #should return true
hwi CloseStack; 

Error

No error codes are returned. Any error conditions will cause the function to return false.

Keywords

  • HyperWorks
  • MediaView
  • Tracing
  • Tracking System