DocumentDataCount

Returns the number of RhinoScript user data items in the current document.

Syntax

Rhino.DocumentDataCount ()

Parameters

None.

Returns

Number

The number of RhinoScript document user data items.

Example

Dim intCount

intCount = Rhino.DocumentDataCount

Rhino.Print "RhinoScript document user data count: " & CStr(intCount)

Also See

DeleteDocumentData

GetDocumentData

IsDocumentData

SetDocumentData