I have been trying to find an example for my situation but have had no luck so far.
what i am trying to create (with no lua experience):
in every scene is a geometry node inside a group (imported orbx) and a perspective camera. the names of these nodes never change (geometry.abc) (perspShape)
I want to create and connect output nodes for each.
I found how to create nodes and connect to other nodes that are created, but not how to connect to existing nodes.
the result should be the geometry.abc and perspShape connected to output nodes.