DimScale

Returns or changes the document's global dimension scale.

Syntax

rhinoscript.dimension.DimScale (scale=None)

Parameters

scale

Optional.  Number.  The new global dimension scale value.  If omitted, the current dimension scale will be returned.

Returns

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.

Example

import rhinoscriptsyntaax as rs

scale = rs.DimScale()

if( scale != 1.0 ): rs.DimScale(1.0)

Also See

AddDimStyle

DeleteDimStyle

IsDimStyle