poptoolutils module

poptoolutils.createPopNodeContainer(viewer, newobjectname, popnetname=None, position=None)
poptoolutils.createPopNodeFilter(container, nodetypename, nodename, exact_node_type=True)
poptoolutils.createPopNodeGenerator(viewer, nodetypename, nodename, position=None, exact_node_type=True)
poptoolutils.genericFilterTool(scriptargs, nodetypename, nodename=None, exact_node_type=True)
poptoolutils.genericPopNodeFilterTool(scriptargs, nodetypename, nodename, exact_node_type)
poptoolutils.genericPopNodeGeneratorTool(scriptargs, nodetypename, nodename, prompt=None, exact_node_type=True)
poptoolutils.getParentStreamNames(parentpath='..')

This is utility function to handle the common POP idiom of either using an explicit group in the parent, or invoking the getStreamName. If you are not the immediate child of the otl, then change parent path.

poptoolutils.getStreamNames(node, includeself=False, seennodes=None)

Returns a group specifying all the streams from generators of input nodes. Tries to properly navigate merges and switches, but can be confused. Will not, however, double count or have issues with infinite recursion.

Possessing a “streamname” parameter qualifies a node as a generator at which point the search stops on that branch.

poptoolutils.selectParticleContainer(sceneviewer, prompt=None)