vidIVideo SetCSXaxisColor

Sets the color used for drawing the X axis arrow of the user coordinate system symbol.

Syntax

vidIVideo_handle SetCSXaxisColorcolor

Application

HyperWorks Tcl Modify

Description

Sets the color used for drawing the X axis arrow of the user coordinate system symbol.

Inputs

color
A number from 0 to 63 representing any of the 64 colors in the HyperWorks palette.

Example

hwi OpenStack;
hwi GetSessionHandle sess1;
sess1 GetProjectHandle proj;
proj GetPageHandle page1;
page1 SetLayout 2
page1 GetWindowHandle win1 1;
page1 GetWindowHandle win2 2;
win2 SetClientType plot
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 SetCSXaxisColor 2; #color 2 = red
hwi CloseStack; 

Errors

Returns success or an error code.

Keywords

  • HyperWorks
  • MediaView
  • Tracing
  • Tracking System