AddDimStyle

Adds a new dimension style to the document.  The new dimension style will be initialized with the current default dimension style properties.

Syntax

rhinoscriptsyntax.AddDimStyle (dimstyle_name=None)

rhinoscript.dimension.AddDimStyle (dimstyle_name=None)

Parameters

dimstyle_name

Optional.  String.  The name of the new dimension style.  If omitted, Rhino automatically generates the dimension style name.

Returns

String

The name of the new dimension style if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

print "New dimension style: ", rs.AddDimStyle()

print "New dimension style: ", rs.AddDimStyle("MyDimStyle")

Also See

CurrentDimStyle

DeleteDimStyle

IsDimStyle

RenameDimStyle