Skip to content
On this page

mxcad API 文档 / MxNewMx3dApplication

Class: MxNewMx3dApplication

应用程序类,全局单实例

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MxNewMx3dApplication()

Properties

imp

Protected imp: any

Methods

createView

createView(theCanvasSelector): MxNewMx3dView

为当前应用程序创建一个视图

Parameters

NameTypeDescription
theCanvasSelectorstringcanvas的CSS选择器字符串

Returns

MxNewMx3dView

返回一个视图对象


getCurrentActiveView

getCurrentActiveView(): MxNewMx3dView

获取当前视图对象

Returns

MxNewMx3dView

返回当前的视图对象