[mxcad_3d API Document](../README. md)/Mx3dDimAngle
Class: Mx3dDimAngle 
Hierarchy 
- ↳ - Mx3dDimAngle
Table of contents 
Constructors 
Methods 
- CenterPoint
- FirstPoint
- FirstShape
- GetArrowsVisibility
- GetDisplayUnits
- GetFlyout
- GetGeometryType
- GetModelUnits
- GetPlane
- GetTextPosition
- GetType
- GetValue
- IsTextPositionCustom
- IsValid
- KindOfDimension
- SecondPoint
- SecondShape
- SelToleranceForText2d
- SetArrowsVisibility
- SetComputedValue
- SetCustomPlane
- SetCustomValue
- SetDimensionAspect
- SetDisplayUnits
- SetFlyout
- SetMeasuredGeometry
- SetModelUnits
- SetSelToleranceForText2d
- SetTextPosition
- SetType
- ThirdShape
- UnsetCustomPlane
- UnsetFixedTextPosition
Constructors 
constructor 
• new Mx3dDimAngle(theFirstEdge, theSecondEdge)
Construct angle dimensions for the specified two intersecting edges.
Parameters 
| Name | Type | Description | 
|---|---|---|
| The FirstEdge | [Mx3dShapeEdge] (Mx3dShapeEdge. md) | The first edge | 
| The Second Edge | [Mx3dShapeEdge] (Mx3dShapeEdge. md) | The second edge | 
Overrides 
Mx3dDimObject.constructor
• new Mx3dDimAngle(theFirstPoint, theSecondPoint, theThirdPoint)
Construct angle dimensions for the specified three points.
Parameters 
| Name | Type | Description | 
|---|---|---|
| The FirstPoint | [Mx3dGePoint] (Mx3dGePoint. md) | The first point | 
| The Second Point | [Mx3dGePoint] (Mx3dGePoint. md) | The second point (angular center point) | 
| The Third Point | [Mx3dGePoint] (Mx3dGePoint. md) | The third point | 
Overrides 
Mx3dDimObject.constructor
Methods 
CenterPoint 
▸ CenterPoint(): Mx3dGePoint
Returns 
Return the center point of the angle.
FirstPoint 
▸ FirstPoint(): Mx3dGePoint
Returns 
Return to the first point of the angle.
FirstShape 
▸ FirstShape(): Mx3dShapeObject
Returns 
Return the first shape object.
GetArrowsVisibility 
▸ GetArrowsVisibility(): MxTypeOfAngleArrowVisibility
Returns 
Return arrow visibility type.
GetDisplayUnits 
▸ GetDisplayUnits(): string
Returns 
string
Return the display unit string.
GetFlyout 
▸ GetFlyout(): number
Returns 
number
Return the distance of the dimension line position.
GetGeometryType 
▸ GetGeometryType(): number
Returns 
number
Return the geometric type.
GetModelUnits 
▸ GetModelUnits(): string
Returns 
string
Return the model unit string.
GetPlane 
▸ GetPlane(): Mx3dGePlane
Returns 
Return the plane of the angle.
GetTextPosition 
▸ GetTextPosition(): Mx3dGePoint
Returns 
Return the text location point.
GetType 
▸ GetType(): MxTypeOfAngle
Returns 
Return the current angle type.
GetValue 
▸ GetValue(): number
Returns 
number
Return the angle value.
IsTextPositionCustom 
▸ IsTextPositionCustom(): boolean
Returns 
boolean
Return whether the text position is customized.
IsValid 
▸ IsValid(): boolean
Returns 
boolean
Return whether it is valid.
KindOfDimension 
▸ KindOfDimension(): MxKindOfDimension
Returns 
Return the type of size.
SecondPoint 
▸ SecondPoint(): Mx3dGePoint
Returns 
Return to the second point of the angle.
SecondShape 
▸ SecondShape(): Mx3dShapeObject
Returns 
Return the second shape object.
SelToleranceForText2d 
▸ SelToleranceForText2d(): number
Returns 
number
Return the two-dimensional text and select the tolerance.
SetArrowsVisibility 
▸ SetArrowsVisibility(theType): void
Set the arrow visibility type.
Parameters 
| Name | Type | Description | 
|---|---|---|
| theType | [ MxTypeOfAngleArrowVisibility] (../enums/MdGe. MxTypeOfAngleArrowVisibility. md) | Arrow visibility type | 
Returns 
void
SetComputedValue 
▸ SetComputedValue(): void
Set the calculated value.
Returns 
void
SetCustomPlane 
▸ SetCustomPlane(thePlane): void
Set a custom plane.
Parameters 
| Name | Type | Description | 
|---|---|---|
| ThePlane | [Mx3dGePlane] (Mx3dGePlane. md) | Custom Plane | 
Returns 
void
SetCustomValue 
▸ SetCustomValue(theValue): void
Set custom values.
Parameters 
| Name | Type | Description | 
|---|---|---|
| theValue | number | Customize angle values | 
Returns 
void
SetDimensionAspect 
▸ SetDimensionAspect(theDimensionAspect): void
Set the size and appearance.
Parameters 
| Name | Type | Description | 
|---|---|---|
| TheDimensionAspect | [Mx3dAspectDim] (Mx3dAspectDim. md) | Size and appearance | 
Returns 
void
SetDisplayUnits 
▸ SetDisplayUnits(theUnits): void
Set the display unit string.
Parameters 
| Name | Type | Description | 
|---|---|---|
| TheUnits | String | Display units | 
Returns 
void
SetFlyout 
▸ SetFlyout(theFlyout): void
Set the position distance of the dimension line.
Parameters 
| Name | Type | Description | 
|---|---|---|
| The Flyout | Number | Position distance of the dimension line | 
Returns 
void
SetMeasuredGeometry 
▸ SetMeasuredGeometry(theCone): void
Set the measurement geometry to a conical surface.
Parameters 
| Name | Type | Description | 
|---|---|---|
| The Cone | [Mx3dShapeFace] (Mx3dShapeFace. md) | Conical surface | 
Returns 
void
▸ SetMeasuredGeometry(theFirstEdge, theSecondEdge): void
Set the measurement geometry to two intersecting edges.
Parameters 
| Name | Type | Description | 
|---|---|---|
| The FirstEdge | [Mx3dShapeEdge] (Mx3dShapeEdge. md) | The first edge | 
| The Second Edge | [Mx3dShapeEdge] (Mx3dShapeEdge. md) | The second edge | 
Returns 
void
▸ SetMeasuredGeometry(theFirstPoint, theSecondPoint, theThridPoint): void
Set the measurement geometry to three points.
Parameters 
| Name | Type | Description | 
|---|---|---|
| The FirstPoint | [Mx3dGePoint] (Mx3dGePoint. md) | The first point | 
| The Second Point | [Mx3dGePoint] (Mx3dGePoint. md) | The second point (angular center point) | 
| TheThridPoint | [Mx3dGePoint] (Mx3dGePoint. md) | Third point | 
Returns 
void
SetModelUnits 
▸ SetModelUnits(theUnits): void
Set the model unit string.
Parameters 
| Name | Type | Description | 
|---|---|---|
| TheUnits | String | Model units | 
Returns 
void
SetSelToleranceForText2d 
▸ SetSelToleranceForText2d(theTol): void
Set tolerance for selecting 2D text.
Parameters 
| Name | Type | Description | 
|---|---|---|
| TheTol | Number | Select the tolerance | 
Returns 
void
SetTextPosition 
▸ SetTextPosition(theTextPos): void
Set the text position.
Parameters 
| Name | Type | Description | 
|---|---|---|
| TheTextPos | [Mx3dGePoint] (Mx3dGePoint. md) | Text position point | 
Returns 
void
SetType 
▸ SetType(theType): void
Set the angle type.
Parameters 
| Name | Type | Description | 
|---|---|---|
| TheType | [MxTypeOfAngle] (../enums/MdGe. MxTypeOfAngle. md) | Angle type | 
Returns 
void
ThirdShape 
▸ ThirdShape(): Mx3dShapeObject
Returns 
Return the third shape object.
UnsetCustomPlane 
▸ UnsetCustomPlane(): void
Cancel setting custom plane.
Returns 
void
UnsetFixedTextPosition 
▸ UnsetFixedTextPosition(): void
Cancel setting fixed text position.
Returns 
void