try accessing the input upstream instead of the very same node?
Actually, for some time now that's the way I have been doing it.
But I'm just beginning to explore setting up presets.
The idea behind the presets, is like in this case, just drop down a transform node and select the preset; That will work in any context regardless of upstream node names.
If I have to rely on upstream for referencing, that means everytime I use the preset, I have to still go in and define the name of the upstream node in the expressions;
Defeats the purpose of the preset; In my case, not having to always write the expression out.
Which is why I'm going with the Hscript I posted above. It doesn't need to be in Python…I was just curious to know how it could be done.
Edit: My apologies Andr…I missed your post about using inputs()…I had tried that earlier, but I guess I got the syntax wrong(needed the square brackets also)…so thanks for that solution. So yes, can be done in either Hscript or Python. Cheers!