hou.NodeGroup class

Represents a node group.

All Methods Replaces

Methods

addNode(self, node)

Addsa node to this group.

asCode(self, save_creation_commands=False, function_name=None)str

Returns the Python code necessary to recreate this group.

save_creation_commands

Generate a creation script for the node group. If set to False (the default), the generated script assumes that the node group already exists. When set to True, the script will begin by creating the node group.

function_name

If a function_name is specified, the output will be wrapped in a Python function.

clear(self)

Removes all nodes from this group.

destroy(self)

Deletes this group. This does not delete the nodes that were contained in this group.

name(self)str

Returns the name of this group.

nodes(self) → tuple of hou.Node

Return this list of nodes in this group.

parent(self)hou.Node

Returns the network node containing this group.

removeNode(self, node)

Removes a node from the group.

Replaces

opgls command , opgop command , opgrm command , opscript command