DimStyleAnglePrecision

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

Syntax

rhinoscriptsyntax.DimStyleAnglePrecision (dimstyle, precision=None)

rhinoscript.dimension.DimStyleAnglePrecision (dimstyle, precision=None)

Parameters

dimstyle

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

precision

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.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

dimstyle = rs.CurrentDimStyle()

precision = rs.DimStyleAnglePrecision(dimstyle)

if precision>2:

    rs.DimStyleAnglePrecision( dimstyle, 2 )

Also See

DimStyleArrowSize

DimStyleExtension

DimStyleFont

DimStyleLinearPrecision

DimStyleNumberFormat

DimStyleOffset

DimStyleTextAlignment

DimStyleTextHeight