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