pulIDataGroup GetIndex

Gets the index of the data group in its parent collection (if any).

Syntax

pulIDataGroup GetIndex

Application

Tcl Query

Description

This command returns the index of the data group in its parent collection (if any), or -1.

Example

hwi GetSessionHandle sess1
sess1 GetProjectHandle proj
proj GetPageHandle page 1
page GetWindowHandle win 1
win GetCurveHandle curve 1
puts [curve GetIndex]

Errors

Returns an error code of -1 if a valid index is not found or the handle is invalid.

Keywords

XY plot

Tcl

Data Group

Query