vidIVideo SetMeasurePoint2Y

Sets the y coordinate of the second point of a static measure.

Syntax

vidIVideo_handle SetMeasurePoint2Y index y

Application

HyperWorks Tcl Modify

Description

This command sets the y coordinate of the second point of the measure object referenced by the given index.

Inputs

index
The index of the measure to be changed.
y
The y value (in pixels) that you want to make the second 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.