evCreate API 5.7 Help

Object Item Selection

The Object Item Selection subsection of the Object section of the evCreate API includes functions to select and deselect object items and to get selected object items.

selection namespace

The Object Item Selection subsection of the Object evCreate API section is accessed with the selection namespace inside the object namespace:

evCreate.object.selection.Function()

Functions

Add(objs: EvItem[]): Promise<void>

A function to add given object items to the set of already selected object items.

Clear(): Promise<void>

A function to deselect all the selected object items.

Count(): Promise<number>

A function to get the number of selected object items.

Get(): Promise<EvItem[]>

A function to get all the selected object items.

Remove(objs: EvItem[]): Promise<void>

A function to remove given selected object items from the set of selected object items.

Set(objs: EvItem[]): Promise<void>

A function to deselect all the selected object items and select given object items.

11 April 2025