Skip to content

[mxcad_3d API Document](../README. md)/Mx3dDimAngle

Class: Mx3dDimAngle ​

Hierarchy ​

Table of contents ​

Constructors ​

Methods ​

Constructors ​

constructor ​

• new Mx3dDimAngle(theFirstEdge, theSecondEdge)

Construct angle dimensions for the specified two intersecting edges.

Parameters ​

NameTypeDescription
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 ​

NameTypeDescription
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 ​

Mx3dGePoint

Return the center point of the angle.


FirstPoint ​

▸ FirstPoint(): Mx3dGePoint

Returns ​

Mx3dGePoint

Return to the first point of the angle.


FirstShape ​

▸ FirstShape(): Mx3dShapeObject

Returns ​

Mx3dShapeObject

Return the first shape object.


GetArrowsVisibility ​

▸ GetArrowsVisibility(): MxTypeOfAngleArrowVisibility

Returns ​

MxTypeOfAngleArrowVisibility

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 ​

Mx3dGePlane

Return the plane of the angle.


GetTextPosition ​

▸ GetTextPosition(): Mx3dGePoint

Returns ​

Mx3dGePoint

Return the text location point.


GetType ​

▸ GetType(): MxTypeOfAngle

Returns ​

MxTypeOfAngle

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 ​

MxKindOfDimension

Return the type of size.


SecondPoint ​

▸ SecondPoint(): Mx3dGePoint

Returns ​

Mx3dGePoint

Return to the second point of the angle.


SecondShape ​

▸ SecondShape(): Mx3dShapeObject

Returns ​

Mx3dShapeObject

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 ​

NameTypeDescription
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 ​

NameTypeDescription
ThePlane[Mx3dGePlane] (Mx3dGePlane. md)Custom Plane

Returns ​

void


SetCustomValue ​

▸ SetCustomValue(theValue): void

Set custom values.

Parameters ​

NameTypeDescription
theValuenumberCustomize angle values

Returns ​

void


SetDimensionAspect ​

▸ SetDimensionAspect(theDimensionAspect): void

Set the size and appearance.

Parameters ​

NameTypeDescription
TheDimensionAspect[Mx3dAspectDim] (Mx3dAspectDim. md)Size and appearance

Returns ​

void


SetDisplayUnits ​

▸ SetDisplayUnits(theUnits): void

Set the display unit string.

Parameters ​

NameTypeDescription
TheUnitsStringDisplay units

Returns ​

void


SetFlyout ​

▸ SetFlyout(theFlyout): void

Set the position distance of the dimension line.

Parameters ​

NameTypeDescription
The FlyoutNumberPosition distance of the dimension line

Returns ​

void


SetMeasuredGeometry ​

▸ SetMeasuredGeometry(theCone): void

Set the measurement geometry to a conical surface.

Parameters ​

NameTypeDescription
The Cone[Mx3dShapeFace] (Mx3dShapeFace. md)Conical surface

Returns ​

void

▸ SetMeasuredGeometry(theFirstEdge, theSecondEdge): void

Set the measurement geometry to two intersecting edges.

Parameters ​

NameTypeDescription
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 ​

NameTypeDescription
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 ​

NameTypeDescription
TheUnitsStringModel units

Returns ​

void


SetSelToleranceForText2d ​

▸ SetSelToleranceForText2d(theTol): void

Set tolerance for selecting 2D text.

Parameters ​

NameTypeDescription
TheTolNumberSelect the tolerance

Returns ​

void


SetTextPosition ​

▸ SetTextPosition(theTextPos): void

Set the text position.

Parameters ​

NameTypeDescription
TheTextPos[Mx3dGePoint] (Mx3dGePoint. md)Text position point

Returns ​

void


SetType ​

▸ SetType(theType): void

Set the angle type.

Parameters ​

NameTypeDescription
TheType[MxTypeOfAngle] (../enums/MdGe. MxTypeOfAngle. md)Angle type

Returns ​

void


ThirdShape ​

▸ ThirdShape(): Mx3dShapeObject

Returns ​

Mx3dShapeObject

Return the third shape object.


UnsetCustomPlane ​

▸ UnsetCustomPlane(): void

Cancel setting custom plane.

Returns ​

void


UnsetFixedTextPosition ​

▸ UnsetFixedTextPosition(): void

Cancel setting fixed text position.

Returns ​

void