pltIDatum GetIndex

Gets the datum’s index.

Syntax

pltIDatum_handle GetIndex

Application

Tcl Query

Description

This command finds the datum’s index (position) within the list of datums.

Example

hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;	
w1 GetClientHandle plot;
plot GetHorizontalDatumHandle dat 1;
dat GetIndex;

Errors

Success (the datum’s index) or an error (-1) is returned.

Keywords

Tcl

Datum

Query