evCreate API 5.7 Help

ClearLayer Function

Permanently removes all attached layer actions from given object items in an Envision document currently opened in the Canvas Envision Creator app.

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

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 which should be cleared from all layer actions attached to them.

Return value

Promise<void>

A Promise that, if fulfilled, resolves to void if all layer actions attached to the given object items in the current Envision document have been successfully deleted.

26 March 2025