mxcad_2d API 文档 / 2d / MxCADUI
Interface: MxCADUI
2d.MxCADUI
MxCADUI 模块提供插件程序使用的接口.
Table of contents
Properties
Properties
getUploadFileConfig
• getUploadFileConfig: () => { baseUrl: string ; mxfilepath: string ; printPdfUrl: string ; saveDwgUrl: string ; saveUrl: string }
Type declaration
▸ (): Object
获取文件下载配置
Returns
Object
| Name | Type |
|---|---|
baseUrl | string |
mxfilepath | string |
printPdfUrl | string |
saveDwgUrl | string |
saveUrl | string |
init
• init: (plugin: MxCADPluginBase) => void
Type declaration
▸ (plugin): void
初始化
Parameters
| Name | Type | Description |
|---|---|---|
plugin | MxCADPluginBase | 基础配置 |
Returns
void
mxcad
• mxcad: McObject
mxcad对象
mxmap
• mxmap: MxMap
mxmap对象