[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
Name | Type | Description |
---|---|---|
The Canvas selector | string | CSS selector string for canvas |
Returns
Return a view object
getCurrentActiveView
▸ getCurrentActiveView(): Mx3dView
Retrieve the current view object
Returns
Return the current view object