Page 1 of 1

Lua auto nodes connection

PostPosted: Mon Jul 23, 2018 10:21 am
by Issa
Hi all,
I wrote a script to perform automatic node connection in Octane standalone in order to speed up my workflow.
The script try to connect the selected nodes based on vertical position on the graph, alt+v shortcut.

Image

Re: Lua auto nodes connection

PostPosted: Sat May 01, 2021 2:31 am
by gah5118
this is nice!

I'm beating my head against the wall trying to figure out a few things and this has much of it. (new to lua and octane api)

one thing that isn't working is connecting a selected alembic node.. or rather nodegraph which is the error returned
string "V Connection.lua"]:17: bad argument #2 to 'canConnectToIx' (octane.node expected, got octane.nodegraph)

I'm trying to create something where, you drop an orbx file into the scene, then with it selected, run a script which will create geometry output and a camera output. then connect them to the perspective camera and the alembic nodegraph.

Re: Lua auto nodes connection

PostPosted: Sat May 01, 2021 7:09 am
by whersmy
YES! :geek: