Returns or changes the document's global dimension scale.
rhinoscript.dimension.DimScale (scale=None)
scale |
Optional. Number. The new global dimension scale value. If omitted, the current dimension scale will be returned. |
Number |
If a dimension scale is not specified, the current dimension scale if successful. |
Number |
If a dimension scale is specified, the previous dimension scale if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntaax as rs
scale = rs.DimScale()
if( scale != 1.0 ): rs.DimScale(1.0)