DimStyleNames

Returns the names of all dimension styles in the document.

Syntax

rhinoscriptsyntax.DimStyleNames (sort=False)

rhinoscript.dimension.DimStyleNames (sort=False)

Parameters

sort

Optional.  Boolean.  Return a sorted list of dimension style names. The default is not to return a sorted list (False).

Returns

List

A list of dimension style names if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

dimstyles = rs.DimStyleNames()

if dimstyles:

    for dimstyle in dimstyles: print dimstyle

Also See

DimStyleCount

IsDimStyle