Skip to content
On this page

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

NameType
baseUrlstring
mxfilepathstring
printPdfUrlstring
saveDwgUrlstring
saveUrlstring

init

init: (plugin: MxCADPluginBase) => void

Type declaration

▸ (plugin): void

初始化

Parameters
NameTypeDescription
pluginMxCADPluginBase基础配置
Returns

void


mxcad

mxcad: McObject


mxmap

mxmap: MxMap