Skip to content
On this page

mxcad API 文档 / 3d / Mx3dDbLabel

Class: Mx3dDbLabel

3d.Mx3dDbLabel

所有类的父类, 除去MdGeTopo以及MdGeBrep

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Mx3dDbLabel(p?)

Parameters

NameType
p?object

Overrides

Mx3dDbObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

Mx3dDbObject.imp

Methods

addAssemblyLabel

addAssemblyLabel(theShape): Mx3dDbLabel

Parameters

NameType
theShapeMx3dShapeObject

Returns

Mx3dDbLabel


addChildLabel

addChildLabel(): Mx3dDbLabel

Returns

Mx3dDbLabel


addChildShape

addChildShape(theShape): Mx3dDbLabel

Parameters

NameType
theShapeMx3dShapeObject

Returns

Mx3dDbLabel


getAttributeStr

getAttributeStr(): string

Returns

string


getChildLabels

getChildLabels(): Mx3dLabelSequence

Returns

Mx3dLabelSequence


getColor

getColor(): Mx3dGeColor

Returns

Mx3dGeColor


getEntry

getEntry(): string

Returns

string


getImp

getImp(): any

Returns

any

Inherited from

Mx3dDbObject.getImp


getLocation

getLocation(): Mx3dGeLocation

Returns

Mx3dGeLocation


getName

getName(): string

Returns

string


getParentLabel

getParentLabel(): Mx3dDbLabel

Returns

Mx3dDbLabel


getReferredLabel

getReferredLabel(): Mx3dDbLabel

Returns

Mx3dDbLabel


getShape

getShape(): Mx3dShapeObject

Returns

Mx3dShapeObject


hasChildLabel

hasChildLabel(): boolean

Returns

boolean


hasParentLabel

hasParentLabel(): boolean

Returns

boolean


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

Mx3dDbObject.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
theColorMx3dGeColor

Returns

void


setShape

setShape(theShape): boolean

Parameters

NameType
theShapeMx3dShapeObject

Returns

boolean