DimStyleSuffix

Returns or changes the suffix of a dimension style - the text to append to the dimension text.

Syntax

rhinoscriptsyntax.DimStyleSuffix (dimstyle, suffix=None)

rhinoscript.dimension.DimStyleSuffix (dimstyle, suffix=None)

Parameters

dimstyle

Required.  String.  The name of an existing dimension style.

suffix

Optional.  String.  The new suffix.  If omitted, the current suffix is returned.  To remove the suffix, pass in an empty string, or "".

Returns

String

If strSuffix is not specified, the current suffix if successful.  Note, if no current suffix exists, Null is returned.

String

If strSuffix is specified, the previous suffix if successful.  Note, if no previous suffix exists, Null is returned.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

dimstyle = rs.CurrentDimStyle()

rs.DimStyleSuffix( dimstyle, "}" )

Also See

DimStyleLengthFactor

DimStylePrefix