Skip to content

[mxcad_3d API documentation](../README. md)/Mx3dApplication

Class: Mx3dApplication ​

Application class, global single instance

Table of contents ​

Methods ​

Methods ​

createView ​

▸ createView(theCanvasSelector): Mx3dView

Create a view for the current application

Parameters ​

NameTypeDescription
The Canvas selectorstringCSS selector string for canvas

Returns ​

Mx3dView

Return a view object


getCurrentActiveView ​

▸ getCurrentActiveView(): Mx3dView

Retrieve the current view object

Returns ​

Mx3dView

Return the current view object