pltICurve Replace

Applies a replace edit to the curve.

Syntax

pltICurve_handle Replace from_val, to_val, orientation, interpolate

Application

HyperWorks Tcl Modify

Description

This method only applies the edit. Call the Recalculate method on the parent plot object to update the data.

Inputs

from_val
The minimum value of the range to be replaced.
to_val
The maximum value of the range to be replaced.
orientation
The orientation of the edit.
horizontal
vertical
interpolate
True
Create new data points at from_val and to_val (using linear interpolation) if they are not already there.
False
Do not create new data points at v
and to_val
expression
The expression to be used to replace the indicated range.

Errors

Returns success or an error code.