UnselectObjects

Unselects one or more selected objects.

Syntax

Rhino.UnselectObjects (arrObjects)

Parameters

arrObjects

Required.  Array.  An array of strings identifying the objects to unselect.

Returns

Number

The number of objects unselected if successful.

Null

If not successful, or on error.

Example

Dim arrObjects, arrNew

arrObjects = Rhino.GetObjects("Select object to copy inplace")

If IsArray(arrObjects) Then

Rhino.UnselectObjects arrObjects

arrNew = Rhino.CopyObjects(arrObjects)

If IsArray(arrnew) Then

Rhino.SelectObjects arrNew

End If

End If

Also See

IsObjectSelected

SelectObject

SelectObjects

UnselectObject