vidIVideo SetMeasurePoint1X

Sets the x coordinate of the first point of a static measure.

Syntax

vidIVideo_handle SetMeasurePoint1Xindex x

Application

HyperWorks Tcl Modify

Description

This command sets the x coordinate of the first point of the measure object referenced by the given index.

Inputs

index
The index of the measure to be changed.
x
The x value (in pixels) that you want to make the first measure point.

Example

hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;	
w1 GetClientHandle Video;
Video AddMeasure static;
Video SetMeasurePoint1X 1 400;
Video SetMeasurePoint1Y 1 68;
Video SetMeasurePoint2X 1 600;
Video SetMeasurePoint2Y 1 68;
Video DrawMeasure;

Errors

Success (0) or an error message is returned.