CurrentDimStyle

Returns or changes the current default dimension style.

Syntax

rhinoscriptsyntax.CurrentDimStyle (dimstyle_name=None)

rhinoscript.dimension.CurrentDimStyle (dimstyle_name=None)

Parameters

dimstyle_name

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.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

rs.AddDimStyle("MyDimStyle")

rs.CurrentDimStyle("MyDimStyle")

Also See

AddDimStyle

DeleteDimStyle

IsDimStyle

RenameDimStyle