Create Function
Creates a new group item from given object items in an Envision document currently opened in the Canvas Envision Creator app.
Create(subObjs: [[[EvItem|canvas-envision-document-items.html#object-items]]][], zOrder?: [[[EvObjectZOrder|evobjectzorder-interface.html]]]): Promise<[[[EvItem|canvas-envision-document-items.html#object-items]]]>
Parameters
subObjs: EvItem[]An array of Object item objects, object items from the Envision document currently opened in the Canvas Envision Creator app that should constitute a new group item.
zOrder?: EvObjectZOrderAn
EvObjectZOrderobject that includes:The layer item object of a layer in the current document where the new group item should be added. The default value is the current layer on the current page.
The position of the new group item in the stack of object items on the given layer. It is a zero-based index that is
0for the topmost object item on the layer and increases by1for each following object item going down the stack. The default value is0.
Return value
01 April 2025