Unselects one or more selected objects.
Rhino.UnselectObjects (arrObjects)
arrObjects |
Required. Array. An array of strings identifying the objects to unselect. |
Number |
The number of objects unselected if successful. |
Null |
If not successful, or on error. |
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