Adds a new dimension style to the document. The new dimension style will be initialized with the current default dimension style properties.
rhinoscriptsyntax.AddDimStyle (dimstyle_name=None)
rhinoscript.dimension.AddDimStyle (dimstyle_name=None)
dimstyle_name |
Optional. String. The name of the new dimension style. If omitted, Rhino automatically generates the dimension style name. |
String |
The name of the new dimension style if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
print "New dimension style: ", rs.AddDimStyle()
print "New dimension style: ", rs.AddDimStyle("MyDimStyle")