Skip to content

mxcad_3d API 文档 / Mx3dDimRadius

Class: Mx3dDimRadius ​

Hierarchy ​

Table of contents ​

Constructors ​

Methods ​

Constructors ​

constructor ​

• new Mx3dDimRadius(theCircle)

构造半径尺寸,针对指定的圆形。

Parameters ​

NameTypeDescription
theCircleMx3dGeCircle要测量的圆形。

Overrides ​

Mx3dDimObject.constructor

• new Mx3dDimRadius(theCircle, theAnchorPoint)

构造半径尺寸,针对指定的圆形,并按照给定的锚点进行定向。

Parameters ​

NameTypeDescription
theCircleMx3dGeCircle要测量的圆形。
theAnchorPointMx3dGePoint用于定向的锚点,必须位于圆上。

Overrides ​

Mx3dDimObject.constructor

Methods ​

AnchorPoint ​

▸ AnchorPoint(): Mx3dGePoint

获取圆上的锚点,用于此半径尺寸。

Returns ​

Mx3dGePoint

返回圆上的锚点。


Circle ​

▸ Circle(): Mx3dGeCircle

获取正在测量的圆形。

Returns ​

Mx3dGeCircle

返回该尺寸正在测量的圆形。


GetFlyout ​

▸ GetFlyout(): number

获取尺寸线位置距离。

Returns ​

number

返回尺寸线位置距离。


GetGeometryType ​

▸ GetGeometryType(): number

获取几何类型。

Returns ​

number

返回几何类型。


GetPlane ​

▸ GetPlane(): Mx3dGePlane

获取尺寸平面。

Returns ​

Mx3dGePlane

返回尺寸平面。


GetTextPosition ​

▸ GetTextPosition(): Mx3dGePoint

获取文本位置。

Returns ​

Mx3dGePoint

返回文本位置。


GetValue ​

▸ GetValue(): number

获取尺寸值。

Returns ​

number

返回尺寸值。


IsTextPositionCustom ​

▸ IsTextPositionCustom(): boolean

检查文本位置是否为自定义。

Returns ​

boolean

返回是否为自定义文本位置。


IsValid ​

▸ IsValid(): boolean

检查该半径尺寸是否有效。

Returns ​

boolean

返回是否有效。


KindOfDimension ​

▸ KindOfDimension(): MxKindOfDimension

获取尺寸类型。

Returns ​

MxKindOfDimension

返回尺寸类型。


SelToleranceForText2d ​

▸ SelToleranceForText2d(): number

获取2D文本选择公差。

Returns ​

number

返回2D文本选择公差。


SetComputedValue ​

▸ SetComputedValue(): void

设置计算的尺寸值。

Returns ​

void


SetCustomPlane ​

▸ SetCustomPlane(thePlane): void

设置自定义平面。

Parameters ​

NameTypeDescription
thePlaneMx3dGePlane自定义平面。

Returns ​

void


SetCustomValue ​

▸ SetCustomValue(theValue): void

设置自定义的尺寸值。

Parameters ​

NameTypeDescription
theValuenumber自定义的尺寸值。

Returns ​

void


SetDimensionAspect ​

▸ SetDimensionAspect(theDimensionAspect): void

设置尺寸的外观。

Parameters ​

NameTypeDescription
theDimensionAspectMx3dAspectDim尺寸的外观。

Returns ​

void


SetFlyout ​

▸ SetFlyout(theFlyout): void

设置尺寸线位置距离。

Parameters ​

NameTypeDescription
theFlyoutnumber尺寸线位置距离。

Returns ​

void


SetMeasuredGeometry ​

▸ SetMeasuredGeometry(theCircle): void

设置测量的圆形。

Parameters ​

NameTypeDescription
theCircleMx3dGeCircle要测量的圆形。

Returns ​

void

▸ SetMeasuredGeometry(theCircle, theAnchorPoint, theHasAnchor): void

设置测量的圆形,并指定锚点。

Parameters ​

NameTypeDescription
theCircleMx3dGeCircle要测量的圆形。
theAnchorPointMx3dGePoint用于定向的锚点,必须位于圆上。
theHasAnchorboolean是否使用锚点。

Returns ​

void


SetSelToleranceForText2d ​

▸ SetSelToleranceForText2d(theTol): void

设置2D文本选择公差。

Parameters ​

NameTypeDescription
theTolnumber2D文本选择公差。

Returns ​

void


SetTextPosition ​

▸ SetTextPosition(theTextPos): void

设置文本位置。

Parameters ​

NameTypeDescription
theTextPosMx3dGePoint文本的位置。

Returns ​

void


Shape ​

▸ Shape(): Mx3dShapeObject

获取测量的形状。

Returns ​

Mx3dShapeObject

返回测量的形状。


UnsetCustomPlane ​

▸ UnsetCustomPlane(): void

取消自定义平面。

Returns ​

void


UnsetFixedTextPosition ​

▸ UnsetFixedTextPosition(): void

取消固定文本位置。

Returns ​

void