NamedPositionCount

Returns the number of named positions in the document.

Syntax

Rhino.NamedPositionCount ()

Parameters

None.

Returns

Number

The number of named positions in the document.

Example

Sub TestNamedPositionCount

  Dim objPlugIn

  On Error Resume Next

  Set objPlugIn = Rhino.GetPluginObject("Named Position")

  If Err Then

    MsgBox Err.Description

    Exit Sub

  End If

  Rhino.Print "There are " & CStr(objPlugIn.NamedPositionCount) & " named positions."

End Sub

Also See

AppendNamedPosition

DeleteNamedPosition

NamedPositions

RenameNamedPosition

RestoreNamedPosition

SaveNamedPosition

SelectObjectsOfNamedPosition

UpdateNamedPosition