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