CurrentDimStyle

Returns or changes the current default dimension style.

Syntax

Rhino.CurrentDimStyle ([strDimStyle])

Parameters

strDimStyle

Optional.  String.  The name of an existing dimension style to make current.

Returns

String

If a dimension style is not specified, the name of the current dimension style if successful.

String

If a dimension style is specified, the name of the previous current dimension style if successful.

Null

If not successful, or on error.

Example

Rhino.AddDimStyle("MyDimStyle")

Rhino.CurrentDimStyle("MyDimStyle")

Also See

AddDimStyle

DeleteDimStyle

IsDimStyle

RenameDimStyle