mxcad API 文档 / MdGeLengthDim
Class: MdGeLengthDim
表示长度标注
Hierarchy
↳
MdGeLengthDim
Table of contents
Constructors
Properties
Methods
- AcceptDisplayMode
- DimensionAspect
- Display
- FirstPoint
- FirstShape
- GetFlyout
- GetGeometryType
- GetPlane
- GetTextPosition
- GetValue
- IsTextPositionCustom
- IsValid
- KindOfDimension
- SecondPoint
- SecondShape
- SelToleranceForText2d
- SetComputedValue
- SetCustomPlane
- SetCustomValue
- SetDimensionAspect
- SetDirection
- SetFlyout
- SetMeasuredGeometry
- SetMeasuredShapes
- SetSelToleranceForText2d
- SetTextPosition
- UnsetCustomPlane
- UnsetFixedTextPosition
- getImp
- initTempObject
Constructors
constructor
• new MdGeLengthDim(p1?
, p2?
, p3?
)
Parameters
Name | Type |
---|---|
p1? | object | MdGePoint | MdGeEdge |
p2? | MdGePoint | MdGePlane |
p3? | MdGePlane |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
AcceptDisplayMode
▸ AcceptDisplayMode(theMode
): boolean
Parameters
Name | Type |
---|---|
theMode | number |
Returns
boolean
DimensionAspect
▸ DimensionAspect(): MdGeDimAspect
Returns
Display
▸ Display(): void
Returns
void
FirstPoint
▸ FirstPoint(): MdGePoint
Returns
FirstShape
▸ FirstShape(): MdGeShape
Returns
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
SecondPoint
▸ SecondPoint(): MdGePoint
Returns
SecondShape
▸ SecondShape(): MdGeShape
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
SetDirection
▸ SetDirection(theDirection
, theUseDirection?
): void
Parameters
Name | Type |
---|---|
theDirection | MdGeDir |
theUseDirection? | boolean |
Returns
void
SetFlyout
▸ SetFlyout(theFlyout
): void
Parameters
Name | Type |
---|---|
theFlyout | number |
Returns
void
SetMeasuredGeometry
▸ SetMeasuredGeometry(theFirstPoint
, theSecondPoint
, thePlane
): void
Parameters
Name | Type |
---|---|
theFirstPoint | MdGePoint |
theSecondPoint | MdGePoint |
thePlane | MdGePlane |
Returns
void
SetMeasuredShapes
▸ SetMeasuredShapes(theFirstShape
, theSecondShape
): void
Parameters
Name | Type |
---|---|
theFirstShape | MdGeShape |
theSecondShape | MdGeShape |
Returns
void
SetSelToleranceForText2d
▸ SetSelToleranceForText2d(theTol
): void
Parameters
Name | Type |
---|---|
theTol | number |
Returns
void
SetTextPosition
▸ SetTextPosition(theTextPos
): void
Parameters
Name | Type |
---|---|
theTextPos | MdGePoint |
Returns
void
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