evCreate API 5.7 Help

AddObjects Function

Adds given object items to an Envision document currently opened in the Canvas Envision Creator app during an active Vertical Layout session.

AddObjects(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 that should be added to the Envision document currently opened in the Canvas Envision Creator app during an active Vertical Layout session.

Return value

Promise<void>

A Promise that, if fulfilled, resolves to void if the given object items have been successfully added to the current document during an active Vertical Layout session.

Discussion

The function will throw an error if Vertical Layout mode has not been activated.

22 April 2025