RemoveObjectFromTopGroup

Removes a single object from it's top-most group.

Syntax

Rhino.RemoveObjectFromTopGroup (strObject)

Parameters

strObject

Required.  String.  The identifier of the object.

Returns

Boolean

True or False indicating success or failure.

Null

On error.

Example

Dim strObject

strObject = Rhino.GetObject("Select object")

If Not IsNull(strObject) Then

Rhino.RemoveObjectFromTopGroup strObject

End If

Also See

IsGroupEmpty

ObjectGroups

ObjectsByGroup

RemoveObjectFromAllGroups

RemoveObjectFromGroup

RemoveObjectsFromGroup