Home > RhinoScript Methods > Dimension Methods > DimStyleCount

Show Navigation Component

DimStyleCount

Returns the number of dimension styles in the document.

Syntax

Rhino.DimStyleCount ()

Parameters

None.

Returns

Number

The number of dimension styles in the document.

Example

Dim intCount

intCount = Rhino.DimStyleCount

Rhino.Print "There are " & CStr(intCount) & " dimension styles."

Also See

DimStyleNames

IsDimStyle