RemoveObjectFromGroup

Removes a single object from an existing group.

Syntax

Rhino.RemoveObjectFromGroup (strObject, strGroup)

Parameters

strObject

Required.  String.  The identifier of the object.

strGroup

Required.  String.  The name of an existing group.

Returns

Boolean

True or False indicating success or failure.

Null

On error.

Example

Dim strObject, strGroup

strGroup = "NewGroup"

strObject = Rhino.GetObject("Select object")

If Not IsNull(strObject) Then

Rhino.RemoveObjectFromGroup strObject, strGroup

End If

Also See

IsGroupEmpty

ObjectGroups

ObjectsByGroup

RemoveObjectFromAllGroups

RemoveObjectFromTopGroup

RemoveObjectsFromGroup