pulIAxis GetIndex

Returns the index of the axis.

Syntax

axis_handle GetIndex

Application

HyperWorks Tcl Query

Description

This command returns the index of the axis, or -1 if there is an error.

Example

hwi OpenStack;
hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle page 1;
page GetWindowHandle win 1;
win GetClientHandle plot;
plot GetHorizontalAxisHandle h_axis 1;
puts [h_axis GetIndex];
hwi CloseStack; 

Errors

Returns -1 if there is an error.

Keywords

HyperWorks

XY plot

Tcl

Axis