pltICursor SetLineColor

Sets the cursor line’s color.

Syntax

pltICursor_handle SetLineColorstr

Application

HyperWorks Tcl Modify

Description

This command sets the cursor line’s color.

Inputs

str
A string representing the RGB (red - green - blue) values, which sets the line to a specific color. The string must be within “ “ and contain three numbers.

Example

hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;
w1 GetClientHandle plot;
plot GetCurveHandle c1 1;
c1 GetCursorHandle cur 1;
cur SetLineColor “0 255 0”;
cur Draw

Errors

Success (0) or an error message is returned.

Keywords

HyperWorks

Tcl

Cursor

Modify