I am looking for a way to reference existing node from python inside the GUI (script editor). From the examples/documentation, I extracted the following:
from NatronGui import *
app = natron.getInstance(0)
writer= app.createNode("fr.inria.openfx.WriteOIIO")
Nice! A node named “Write5” appears on the Node Graph, but when I try to get it later from another script…
app.render(app.Write5, 1,1, 1)
AttributeError: 'NatronEngine.App' object has no attribute 'Write5'
So this is the documented way, but doesn’t work. What’s the actual way to access an existing node by name?