pltICurve Remove

Removes part of the curve.

Syntax

pltICurve_handle Removefrom_val, to_val, orientation, interpolate

Application

HyperWorks Tcl Modify

Description

This command removes part of the curve. You must call the Recalculate method on the plot to update the data. This command only removes sections at the beginning and the end of the curve.

Inputs

from_val
A number representing the value along the X or Y axis (depending on which orientation you choose) that you want to be the minimum value of the range to be cut.
to_index
A number representing the value along the X or Y axis (depending on which orientation you choose) that you want to be the maximum value of the range to be cut.
orientation
The type of orientation of the edit. This value can either be “horizontal” or “vertical”, depending if you want to cut across the X axis or Y axis.
interpolate
A true or false value. When you want to use liner interpolation to create new data points at the from_val and to_val values (if they are not already there), input true. If you do not want to do this, input false.

Example

hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;
w1 GetClientHandle plot;
plot GetCurveHandle c1 1
c1 Remove 2 5 horizontal false;
plot Recalculate;

Errors

Success (0) or an error message is returned.

Keywords

HyperWorks

Tcl

Cursor

Modify