DimStyleDimLineExtension

Returns or modifies the dimension line extension of a dimension style.

Syntax

Rhino.DimStyleDimLineExtension (strDimStyle [, dblExtension])

Parameters

strDimStyle

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

dblExtension

Optional.  Number.  The new dimension line extension.  If omitted, the current dimension line extension is returned.

Returns

Number

If an extension is not specified, the current dimension line extension if successful.

Number

If an extension is specified, the previous dimension line extension if successful.

Null

If not successful, or on error.

Example

Dim strDimStyle, dblExtension

strDimStyle = Rhino.CurrentDimStyle

dblExtension = Rhino.DimStyleDimLineExtension(strDimStyle)

If dblExtension > 0.5 Then

Rhino.DimStyleDimLineExtension strDimStyle, 0.5

End If

Also See

DimStyleAnglePrecision

DimStyleArrowSize

DimStyleFont

DimStyleLinearPrecision

DimStyleNumberFormat

DimStyleOffset

DimStyleTextAlignment

DimStyleTextHeight