Removes a single object from any and all groups that it is a member. Neither the object nor the group can be a reference object.
Rhino.RemoveObjectFromAllGroups (strObject)
strObject |
Required. String. The identifier of the object. |
Boolean |
True or False indicating success or failure. |
Null |
On error. |
Dim strObject
strObject = Rhino.GetObject("Select object")
If Not IsNull(strObject) Then
Rhino.RemoveObjectFromAllGroups strObject
End If