DimStyleAnglePrecision

Returns or changes the angle display precision of a dimension style.

Syntax

Rhino.DimStyleAnglePrecision (strDimStyle [, intPrecision])

Parameters

strDimStyle

Required.  String.  The name of an existing dimension style.

intPrecision

Optional.  Number.  The new angle precision value.  If omitted, the current angle precision is returned.

Returns

Number

If a precision is not specified, the current angle precision if successful.

Number

If a precision is specified, the previous angle precision if successful.

Null

If not successful, or on error.

Example

Dim strDimStyle, intPrecision

strDimStyle = Rhino.CurrentDimStyle

intPrecision = Rhino.DimStyleAnglePrecision(strDimStyle)

If intPrecision > 2 Then

Rhino.DimStyleAnglePrecision strDimStyle, 2

End If

Also See

DimStyleArrowSize

DimStyleExtension

DimStyleFont

DimStyleLinearPrecision

DimStyleNumberFormat

DimStyleOffset

DimStyleTextAlignment

DimStyleTextHeight