Author: Stefan
update: 2019/02/17
Flame 2019.2 and up (pyside2)
A little UI to type in the node you want to add.
This first version just adds the node ‘loose’ in the schematic, no auto-connect.
It shows up in the Main Menu (bottom right) and you can assign a shortcut to open it. (i use shift+cmd+’number’)
You can keep the mini window open as long as you need.
The entry field is predictive, using a list of all available batch nodes available in the python api (reading from it).
It is not case sensitive, whatever case you prefer.
Hope you’ll like it.
is there a special trick to get this to work in flame? i tried loading it through the python console and no love
Hey Joel,
Sorry for the delay.
This is in a hook form, not console.
If you’re interested, you can read about how it works in the Getting Started article:
https://www.flamepy.com/category/getting-started/
Anyway, the following should work in the console, it’s case sensitive.
This is for 2019.1
If have an older version (2018 …) you probably have to change the first line:
from tank.platform.qt import QtGui, QtCore
with the following one:
from PySide import QtGui, QtCore
Cheers,
Stefan
Also, check out the new hook for appending setups in the current one (like your own modules). It looks similar at first (one typing dialog window, predictive typing …) but it ‘s for batch setups, not just nodes. You can customize where Flame should look (your collection(s) of useful setups) and see a list of setups per path …
https://www.flamepy.com/2018/10/27/hooks-append-batch-setup-v03/?fbclid=IwAR2G4UBGlmKfHhtr02AQEtMA-D1ZwVgpWO54h139tMu1gFnRTraNYEZ32T4
I just realized that comment where closed after 28 days.
It’s fixed now, comments are open.
I had a bit of fun with this one. I set the hot key to TAB and showed some of the Nuke boys who are learning Flame.
We really like it. It does leave the little windows open in the background and it drops the node a little off the edge of the screen but still better than anything I could code up.
Nice work!
Cool! I’m glad you guys liked it!
Thanks for the nice feedback!
I haven’t had a look at it in a looong time but it might be missing the ‘deleteOnClose’ flag or something.
Cheers