GraphicsOverlay.CurrentShapeIndex Property

Top 

Description

The index of the currently active shape. This determines which shape is affected by the shape properties and methods (Ex. ShapePosition). If the GraphicsOverlay contains no shapes, CurrentShapeIndex will return -1.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Attributes

Type:

integer

Access:

read/write

Default Value:

0

Valid Range:

GraphicsOverlay.CurrentShapeIndex ≥ 0

 

Syntax

myVariable1 = myGraphicsOverlay1.CurrentShapeIndex;

 

myGraphicsOverlay1.CurrentShapeIndex = myVariable1;

 

See also

GraphicsOverlay Object

Graphics Overlays Guide