Skip to content
On this page

mxcad API 文档 / MdGeLengthDim

Class: MdGeLengthDim

表示长度标注

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeLengthDim(p1?, p2?, p3?)

Parameters

NameType
p1?object | MdGePoint | MdGeEdge
p2?MdGePoint | MdGePlane
p3?MdGePlane

Overrides

Mx3dBaseObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

Mx3dBaseObject.imp

Methods

AcceptDisplayMode

AcceptDisplayMode(theMode): boolean

Parameters

NameType
theModenumber

Returns

boolean


DimensionAspect

DimensionAspect(): MdGeDimAspect

Returns

MdGeDimAspect


Display

Display(): void

Returns

void


FirstPoint

FirstPoint(): MdGePoint

Returns

MdGePoint


FirstShape

FirstShape(): MdGeShape

Returns

MdGeShape


GetFlyout

GetFlyout(): number

Returns

number


GetGeometryType

GetGeometryType(): number

Returns

number


GetPlane

GetPlane(): MdGePlane

Returns

MdGePlane


GetTextPosition

GetTextPosition(): MdGePoint

Returns

MdGePoint


GetValue

GetValue(): number

Returns

number


IsTextPositionCustom

IsTextPositionCustom(): boolean

Returns

boolean


IsValid

IsValid(): boolean

Returns

boolean


KindOfDimension

KindOfDimension(): MxKindOfDimension

Returns

MxKindOfDimension


SecondPoint

SecondPoint(): MdGePoint

Returns

MdGePoint


SecondShape

SecondShape(): MdGeShape

Returns

MdGeShape


SelToleranceForText2d

SelToleranceForText2d(): number

Returns

number


SetComputedValue

SetComputedValue(): void

Returns

void


SetCustomPlane

SetCustomPlane(thePlane): void

Parameters

NameType
thePlaneMdGePlane

Returns

void


SetCustomValue

SetCustomValue(theValue): void

Parameters

NameType
theValuenumber

Returns

void


SetDimensionAspect

SetDimensionAspect(theDimensionAspect): void

Parameters

NameType
theDimensionAspectMdGeDimAspect

Returns

void


SetDirection

SetDirection(theDirection, theUseDirection?): void

Parameters

NameType
theDirectionMdGeDir
theUseDirection?boolean

Returns

void


SetFlyout

SetFlyout(theFlyout): void

Parameters

NameType
theFlyoutnumber

Returns

void


SetMeasuredGeometry

SetMeasuredGeometry(theFirstPoint, theSecondPoint, thePlane): void

Parameters

NameType
theFirstPointMdGePoint
theSecondPointMdGePoint
thePlaneMdGePlane

Returns

void


SetMeasuredShapes

SetMeasuredShapes(theFirstShape, theSecondShape): void

Parameters

NameType
theFirstShapeMdGeShape
theSecondShapeMdGeShape

Returns

void


SetSelToleranceForText2d

SetSelToleranceForText2d(theTol): void

Parameters

NameType
theTolnumber

Returns

void


SetTextPosition

SetTextPosition(theTextPos): void

Parameters

NameType
theTextPosMdGePoint

Returns

void


UnsetCustomPlane

UnsetCustomPlane(): void

Returns

void


UnsetFixedTextPosition

UnsetFixedTextPosition(): void

Returns

void


getImp

getImp(): any

Returns

any

Inherited from

Mx3dBaseObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

Mx3dBaseObject.initTempObject