Returns or changes the current default dimension style.
rhinoscriptsyntax.CurrentDimStyle (dimstyle_name=None)
rhinoscript.dimension.CurrentDimStyle (dimstyle_name=None)
dimstyle_name |
Optional. String. The name of an existing dimension style to make current. |
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. |
import rhinoscriptsyntax as rs
rs.AddDimStyle("MyDimStyle")
rs.CurrentDimStyle("MyDimStyle")