Close

Group Class

An Group describes groups lists of Prim Class or Point Class.

A Group can be created with the Group SOP or using the createPointGroup(str) or createPrimGroup(str) methods of the ScriptSOP Class.


Members

defaulttuple (Read Only):

The default values associated with this Group. It returns a tuple item of group points.

namestr :

Set/gets the group name.

ownerOP (Read Only):

Gets the owner of this group.

Methods

add(item : Point | Prim | int)None:

Adds a point/primitive to this group. The point or primitive to be added can be specified by a point, primitive object or the index of a point or primitive object.

discard(item : Point | Prim | int)None:

Removes a point/primitive from this group. The point or primitive to be removed can be specified by a point, primitive object or the index of a point or primitive object.

destroy()None:

Destroys the current point/primitive group.

TouchDesigner Build: