Skip to content
On this page

mxcad API 文档 / MdGeDiameterDim

Class: MdGeDiameterDim

表示直径标注

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeDiameterDim(p1?, p2?)

Parameters

NameType
p1?object | MdGeCircle
p2?MdGePlane

Overrides

Mx3dBaseObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

Mx3dBaseObject.imp

Methods

AcceptDisplayMode

AcceptDisplayMode(theMode): boolean

Parameters

NameType
theModenumber

Returns

boolean


AnchorPoint

AnchorPoint(): MdGePoint

Returns

MdGePoint


Circle

Circle(): MdGeCircle

Returns

MdGeCircle


DimensionAspect

DimensionAspect(): MdGeDimAspect

Returns

MdGeDimAspect


Display

Display(): void

Returns

void


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


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


SetDisplayUnits

SetDisplayUnits(theUnits): void

Parameters

NameType
theUnitsstring

Returns

void


SetFlyout

SetFlyout(theFlyout): void

Parameters

NameType
theFlyoutnumber

Returns

void


SetMeasuredGeometry

SetMeasuredGeometry(theCircle): void

Parameters

NameType
theCircleMdGeCircle

Returns

void


SetModelUnits

SetModelUnits(theUnits): void

Parameters

NameType
theUnitsstring

Returns

void


SetSelToleranceForText2d

SetSelToleranceForText2d(theTol): void

Parameters

NameType
theTolnumber

Returns

void


SetTextPosition

SetTextPosition(theTextPos): void

Parameters

NameType
theTextPosMdGePoint

Returns

void


Shape

Shape(): MdGeShape

Returns

MdGeShape


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