mxcad API 文档 / 3d / MxNewMx3dDbDocument
Class: MxNewMx3dDbDocument
3d.MxNewMx3dDbDocument
管理对象生命周期的基类
Hierarchy
↳
MxNewMx3dDbDocument
Table of contents
Constructors
Properties
Methods
- addColorLabel
- addShapeLabel
- getAccessLabel
- getColorsLabel
- getDocName
- getImp
- getLayersLabel
- getShapesLabel
- getTopFreeLabels
- getView
- initTempObject
- read
- removeComponent
- removeShapeLabel
- write
Constructors
constructor
• new MxNewMx3dDbDocument()
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
addColorLabel
▸ addColorLabel(theColor
): MxNewMx3dDbLabel
Parameters
Name | Type |
---|---|
theColor | MxNewMx3dGeColor |
Returns
addShapeLabel
▸ addShapeLabel(): MxNewMx3dDbLabel
Returns
getAccessLabel
▸ getAccessLabel(): MxNewMx3dDbLabel
Returns
getColorsLabel
▸ getColorsLabel(): MxNewMx3dDbLabel
Returns
getDocName
▸ getDocName(): string
Returns
string
getImp
▸ getImp(): any
Returns
any
Inherited from
getLayersLabel
▸ getLayersLabel(): MxNewMx3dDbLabel
Returns
getShapesLabel
▸ getShapesLabel(): MxNewMx3dDbLabel
Returns
getTopFreeLabels
▸ getTopFreeLabels(): MxNewMx3dDbLabel
[]
Returns
getView
▸ getView(): MxNewMx3dView
Returns
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void
Inherited from
MxNewMx3dDbObject.initTempObject
read
▸ read(theFile
, theFormat
): Promise
<boolean
>
Parameters
Name | Type |
---|---|
theFile | File |
theFormat | MxFormat |
Returns
Promise
<boolean
>
removeComponent
▸ removeComponent(theLabel
): void
Parameters
Name | Type |
---|---|
theLabel | MxNewMx3dDbLabel |
Returns
void
removeShapeLabel
▸ removeShapeLabel(theLabel
): boolean
Parameters
Name | Type |
---|---|
theLabel | MxNewMx3dDbLabel |
Returns
boolean
write
▸ write(theFilePath
, theFormat
): boolean
Parameters
Name | Type |
---|---|
theFilePath | string |
theFormat | MxFormat |
Returns
boolean