Removes a single object from an existing group.
Rhino.RemoveObjectFromGroup (strObject, strGroup)
strObject |
Required. String. The identifier of the object. |
strGroup |
Required. String. The name of an existing group. |
Boolean |
True or False indicating success or failure. |
Null |
On error. |
Dim strObject, strGroup
strGroup = "NewGroup"
strObject = Rhino.GetObject("Select object")
If Not IsNull(strObject) Then
Rhino.RemoveObjectFromGroup strObject, strGroup
End If