mxcad API 文档 / MdGeDiameterDim
Class: MdGeDiameterDim
表示直径标注
Hierarchy
↳
MdGeDiameterDim
Table of contents
Constructors
Properties
Methods
- AcceptDisplayMode
- AnchorPoint
- Circle
- DimensionAspect
- Display
- GetFlyout
- GetGeometryType
- GetPlane
- GetTextPosition
- GetValue
- IsTextPositionCustom
- IsValid
- KindOfDimension
- SelToleranceForText2d
- SetComputedValue
- SetCustomPlane
- SetCustomValue
- SetDimensionAspect
- SetDisplayUnits
- SetFlyout
- SetMeasuredGeometry
- SetModelUnits
- SetSelToleranceForText2d
- SetTextPosition
- Shape
- UnsetCustomPlane
- UnsetFixedTextPosition
- getImp
- initTempObject
Constructors
constructor
• new MdGeDiameterDim(p1?
, p2?
)
Parameters
Name | Type |
---|---|
p1? | object | MdGeCircle |
p2? | MdGePlane |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
AcceptDisplayMode
▸ AcceptDisplayMode(theMode
): boolean
Parameters
Name | Type |
---|---|
theMode | number |
Returns
boolean
AnchorPoint
▸ AnchorPoint(): MdGePoint
Returns
Circle
▸ Circle(): MdGeCircle
Returns
DimensionAspect
▸ DimensionAspect(): MdGeDimAspect
Returns
Display
▸ Display(): void
Returns
void
GetFlyout
▸ GetFlyout(): number
Returns
number
GetGeometryType
▸ GetGeometryType(): number
Returns
number
GetPlane
▸ GetPlane(): MdGePlane
Returns
GetTextPosition
▸ GetTextPosition(): MdGePoint
Returns
GetValue
▸ GetValue(): number
Returns
number
IsTextPositionCustom
▸ IsTextPositionCustom(): boolean
Returns
boolean
IsValid
▸ IsValid(): boolean
Returns
boolean
KindOfDimension
▸ KindOfDimension(): MxKindOfDimension
Returns
SelToleranceForText2d
▸ SelToleranceForText2d(): number
Returns
number
SetComputedValue
▸ SetComputedValue(): void
Returns
void
SetCustomPlane
▸ SetCustomPlane(thePlane
): void
Parameters
Name | Type |
---|---|
thePlane | MdGePlane |
Returns
void
SetCustomValue
▸ SetCustomValue(theValue
): void
Parameters
Name | Type |
---|---|
theValue | number |
Returns
void
SetDimensionAspect
▸ SetDimensionAspect(theDimensionAspect
): void
Parameters
Name | Type |
---|---|
theDimensionAspect | MdGeDimAspect |
Returns
void
SetDisplayUnits
▸ SetDisplayUnits(theUnits
): void
Parameters
Name | Type |
---|---|
theUnits | string |
Returns
void
SetFlyout
▸ SetFlyout(theFlyout
): void
Parameters
Name | Type |
---|---|
theFlyout | number |
Returns
void
SetMeasuredGeometry
▸ SetMeasuredGeometry(theCircle
): void
Parameters
Name | Type |
---|---|
theCircle | MdGeCircle |
Returns
void
SetModelUnits
▸ SetModelUnits(theUnits
): void
Parameters
Name | Type |
---|---|
theUnits | string |
Returns
void
SetSelToleranceForText2d
▸ SetSelToleranceForText2d(theTol
): void
Parameters
Name | Type |
---|---|
theTol | number |
Returns
void
SetTextPosition
▸ SetTextPosition(theTextPos
): void
Parameters
Name | Type |
---|---|
theTextPos | MdGePoint |
Returns
void
Shape
▸ Shape(): MdGeShape
Returns
UnsetCustomPlane
▸ UnsetCustomPlane(): void
Returns
void
UnsetFixedTextPosition
▸ UnsetFixedTextPosition(): void
Returns
void
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void