Skip to content
On this page

mxcad API 文档 / MxNewMx3dDbLabel

Class: MxNewMx3dDbLabel

管理对象生命周期的基类

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MxNewMx3dDbLabel(p?)

Parameters

NameType
p?object

Overrides

MxNewMx3dDbObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

MxNewMx3dDbObject.imp

Methods

addChildLabel

addChildLabel(): MxNewMx3dDbLabel

Returns

MxNewMx3dDbLabel


addComponent

addComponent(comp, Loc): MxNewMx3dDbLabel

Parameters

NameType
compMxNewMx3dDbLabel
LocMxNewMx3dGeLocation

Returns

MxNewMx3dDbLabel


addSubShape

addSubShape(theShape): MxNewMx3dDbLabel

Parameters

NameType
theShapeMxNewMx3dShapeObject

Returns

MxNewMx3dDbLabel


getAttributeStr

getAttributeStr(): string

Returns

string


getChildLabels

getChildLabels(): MxNewMx3dDbLabel[]

Returns

MxNewMx3dDbLabel[]


getColor

getColor(): MxNewMx3dGeColor

Returns

MxNewMx3dGeColor


getEntry

getEntry(): string

Returns

string


getImp

getImp(): any

Returns

any

Inherited from

MxNewMx3dDbObject.getImp


getLocation

getLocation(): MxNewMx3dGeLocation

Returns

MxNewMx3dGeLocation


getName

getName(): string

Returns

string


getParentLabel

getParentLabel(): MxNewMx3dDbLabel

Returns

MxNewMx3dDbLabel


getReferredLabel

getReferredLabel(): MxNewMx3dDbLabel

Returns

MxNewMx3dDbLabel


getShape

getShape(): MxNewMx3dShapeObject

Returns

MxNewMx3dShapeObject


hasChildLabel

hasChildLabel(): boolean

Returns

boolean


hasParentLabel

hasParentLabel(): boolean

Returns

boolean


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

MxNewMx3dDbObject.initTempObject


isAssembly

isAssembly(): boolean

Returns

boolean


isComponent

isComponent(): boolean

Returns

boolean


isCompound

isCompound(): boolean

Returns

boolean


isFree

isFree(): boolean

Returns

boolean


isReference

isReference(): boolean

Returns

boolean


isSetColor

isSetColor(): boolean

Returns

boolean


isShape

isShape(): boolean

Returns

boolean


isSimpleShape

isSimpleShape(): boolean

Returns

boolean


isSubShape

isSubShape(): boolean

Returns

boolean


isTopLevel

isTopLevel(): boolean

Returns

boolean


setColor

setColor(theColor): void

Parameters

NameType
theColorMxNewMx3dGeColor

Returns

void


setShape

setShape(theShape): void

Parameters

NameType
theShapeMxNewMx3dShapeObject

Returns

void