evCreate API 5.7 Help

GetActiveModel Function

Returns a 3D model item currently edited in the active 3D editing mode or undefined if this mode is not currently active for any model.

GetActiveModel(): undefined | [[[EvItem|canvas-envision-document-items.html#model-items]]]

Return value

undefined | EvItem

Either:

  • undefined: no 3D model item is currently edited in an active 3D editing session.

  • EvItem: a Model item object of a 3D model item currently edited in the active 3D editing session.

23 April 2025