Parse scene to return a list of contributing node connected to the given source node.
- Configurable : choose how to treat groups nodes.
- Logical parsing: visit only node contributing to building the scene
- Should cover the majority of nodegraph cases (if you do have one that yield a weird result please fill an issue !)
settings = ParseSettings()
settings.exluded_asGroupsNodeType = ["GafferThree"]
scene = SceneParser()
scene.settings = settings
scene.source = NodegraphAPI.GetAllSelectedNodes()[0]
result = scene.get_upstream_nodes()
print(result)
Or see the ./doc directory.
Apache License 2.0
See LICENSE.md for full licence.
- ✅ The licensed material and derivatives may be used for commercial purposes.
- ✅ The licensed material may be distributed.
- ✅ The licensed material may be modified.
- ✅ The licensed material may be used and modified in private.
- ✅ This license provides an express grant of patent rights from contributors.
- 📏 A copy of the license and copyright notice must be included with the licensed material.
- 📏 Changes made to the licensed material must be documented