Skip to content
On this page

mxcad API 文档 / 3d / MxNewMx3dDbDocument

Class: MxNewMx3dDbDocument

3d.MxNewMx3dDbDocument

管理对象生命周期的基类

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MxNewMx3dDbDocument()

Overrides

MxNewMx3dDbObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

MxNewMx3dDbObject.imp

Methods

addColorLabel

addColorLabel(theColor): MxNewMx3dDbLabel

Parameters

NameType
theColorMxNewMx3dGeColor

Returns

MxNewMx3dDbLabel


addShapeLabel

addShapeLabel(): MxNewMx3dDbLabel

Returns

MxNewMx3dDbLabel


getAccessLabel

getAccessLabel(): MxNewMx3dDbLabel

Returns

MxNewMx3dDbLabel


getColorsLabel

getColorsLabel(): MxNewMx3dDbLabel

Returns

MxNewMx3dDbLabel


getDocName

getDocName(): string

Returns

string


getImp

getImp(): any

Returns

any

Inherited from

MxNewMx3dDbObject.getImp


getLayersLabel

getLayersLabel(): MxNewMx3dDbLabel

Returns

MxNewMx3dDbLabel


getShapesLabel

getShapesLabel(): MxNewMx3dDbLabel

Returns

MxNewMx3dDbLabel


getTopFreeLabels

getTopFreeLabels(): MxNewMx3dDbLabel[]

Returns

MxNewMx3dDbLabel[]


getView

getView(): MxNewMx3dView

Returns

MxNewMx3dView


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

MxNewMx3dDbObject.initTempObject


read

read(theFile, theFormat): Promise<boolean>

Parameters

NameType
theFileFile
theFormatMxFormat

Returns

Promise<boolean>


removeComponent

removeComponent(theLabel): void

Parameters

NameType
theLabelMxNewMx3dDbLabel

Returns

void


removeShapeLabel

removeShapeLabel(theLabel): boolean

Parameters

NameType
theLabelMxNewMx3dDbLabel

Returns

boolean


write

write(theFilePath, theFormat): boolean

Parameters

NameType
theFilePathstring
theFormatMxFormat

Returns

boolean