pltIVector SetDataStartIndex
Sets the start index of data vector referenced by the datasource (vector).
Syntax
pltIVector_handle SetDataStartIndexindex
Application
HyperWorks Tcl Modify
Description
This command sets the start index of the concerned vector.
Inputs
- index
- The start index of the desired vector.
Example
#Precondition: A curve must be available on the plot client window.
hwi GetActiveClientHandle cl; #Must be a plot client.
cl GetCurveHandle crv 1; #Get the handle of the curve at index 1.
crv GetVectorHandle yvec y; #Possible options are x or y or u or v.
yvec SetDataStartIndex index;
Error
0 is returned on success or an error code is returned on failure.
Keywords
HyperWorks
Tcl
DataSource
Vector
Query