evCreate API 5.7 Help

EditModel Function

Activates a 3D editing session for a given 3D model item from an Envision document currently opened in the Canvas Envision Creator.

EditModel(model: [[[EvItem|canvas-envision-document-items.html#model-items]]]): Promise<void>

Parameters

model: EvItem

A Model item object, a given 3D model item from the Envision document currently opened in the Canvas Envision Creator app that should be edited in 3D editing mode.

If a given object item is not a 3D model, the function throws an error.

Return value

Promise<void>

A Promise that, if fulfilled, resolves to void if the 3D editing session has been successfully activated for the given 3D model item in the current document.

Discussion

The function will have no effect if the 3D editing mode has already been activated.

23 April 2025