evCreate API 5.7 Help

Set Function

Deselects all selected object items and selects given object items in an Envision document currently opened in the Canvas Envision Creator app.

Set(objs: [[[EvItem|canvas-envision-document-items.html#object-items]]][]): Promise<void>

Parameters

objs: EvItem[]

An array of Object item objects, one or more given object items from the Envision document currently opened in the Canvas Envision Creator app that should be selected instead of the already selected object items.

Return value

Promise<void>

A Promise that, if fulfilled, resolves to void if:

  1. All the object items that had been selected in the current document have been successfully deselected.

  2. The given object items have been successfully selected.

10 April 2025