-
Notifications
You must be signed in to change notification settings - Fork 25
Select all nodes in Node Graph
fabiof17 edited this page Jun 17, 2019
·
6 revisions
from NatronGui import *
import NatronEngine
# all nodes get selected #
allNodes = app.selectAllNodes(app)
# all nodes are stored in a list called 'currentNodes' #
currentNodes = app.getSelectedNodes()
# now we can cycle through all nodes to do whatever we want #
for node in currentNodes:
do your stuff...