evCreate API 5.7 Help

Replicate Function

Creates one or more copies of each object item given in the array of object item objects from an Envision document currently opened in the Canvas Envision Creator app according to given replication settings.

Replicate(objs: [[[EvItem|canvas-envision-document-items.html#object-items]]][], options?: [[[EvObjectReplicate|evobjectreplicate-interface.html]]]): Promise<[[[EvItem|canvas-envision-document-items.html#object-items]]][]>

Parameters

objs: EvItem[]

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

options?: EvObjectReplicate

An EvObjectReplicate object, the settings for replicating the given object items. If a setting is not given, the default setting value will be used.

Return value

Promise<EvItem[]>

A Promise that, if fulfilled, resolves to an array of Object item objects of the created copies.

27 March 2025