Returns or changes the arrow size of a dimension style.
rhinoscriptsyntax.DimStyleArrowSize (dimstyle, size=None)
rhinoscript.dimension.DimStyleArrowSize (dimstyle, size=None)
dimstyle |
Required. String. The name of an existing dimension style. |
size |
Optional. Number. The new arrow size. If omitted, the current arrow size is returned. |
Number |
If a size value is not specified, the current arrow size if successful. |
Number |
If a size value is specified, the previous arrow size if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
dimstyle = rs.CurrentDimStyle()
size = rs.DimStyleArrowSize(dimstyle)
if size>1.0: rs.DimStyleArrowSize( dimstyle, 1.0 )