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
Name | Type | Description |
---|---|---|
theCanvasSelector | string | canvas的CSS选择器字符串 |
Returns
返回一个视图对象
getCurrentActiveView
▸ getCurrentActiveView(): MxNewMx3dView
获取当前视图对象
Returns
返回当前的视图对象