mxcad API 文档 / Mx3dDbLabel
Class: Mx3dDbLabel
所有类的父类, 除去MdGeTopo以及MdGeBrep
Hierarchy
↳
Mx3dDbLabel
Table of contents
Constructors
Properties
Methods
- addAssemblyLabel
- addChildLabel
- addChildShape
- getAttributeStr
- getChildLabels
- getColor
- getEntry
- getImp
- getLocation
- getName
- getParentLabel
- getReferredLabel
- getShape
- hasChildLabel
- hasParentLabel
- initTempObject
- isAssembly
- isComponent
- isCompound
- isFree
- isReference
- isSetColor
- isShape
- isSimpleShape
- isSubShape
- isTopLevel
- setColor
- setShape
Constructors
constructor
• new Mx3dDbLabel(p?
)
Parameters
Name | Type |
---|---|
p? | object |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
addAssemblyLabel
▸ addAssemblyLabel(theShape
): Mx3dDbLabel
Parameters
Name | Type |
---|---|
theShape | Mx3dShapeObject |
Returns
addChildLabel
▸ addChildLabel(): Mx3dDbLabel
Returns
addChildShape
▸ addChildShape(theShape
): Mx3dDbLabel
Parameters
Name | Type |
---|---|
theShape | Mx3dShapeObject |
Returns
getAttributeStr
▸ getAttributeStr(): string
Returns
string
getChildLabels
▸ getChildLabels(): Mx3dLabelSequence
Returns
getColor
▸ getColor(): Mx3dGeColor
Returns
getEntry
▸ getEntry(): string
Returns
string
getImp
▸ getImp(): any
Returns
any
Inherited from
getLocation
▸ getLocation(): Mx3dGeLocation
Returns
getName
▸ getName(): string
Returns
string
getParentLabel
▸ getParentLabel(): Mx3dDbLabel
Returns
getReferredLabel
▸ getReferredLabel(): Mx3dDbLabel
Returns
getShape
▸ getShape(): Mx3dShapeObject
Returns
hasChildLabel
▸ hasChildLabel(): boolean
Returns
boolean
hasParentLabel
▸ hasParentLabel(): boolean
Returns
boolean
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void
Inherited from
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
Name | Type |
---|---|
theColor | Mx3dGeColor |
Returns
void
setShape
▸ setShape(theShape
): boolean
Parameters
Name | Type |
---|---|
theShape | Mx3dShapeObject |
Returns
boolean