Referencing Names of Nodes

   1946   3   0
User Avatar
Member
128 posts
Joined: Sept. 2018
Offline
So $OS references the name of the node itself, is there another like "$OS" that references to the name of the node directly before that node or anywhere in the chain?
User Avatar
Member
8599 posts
Joined: July 2007
Offline
you can use expressions, like for example even in stead of $OS you can use `opname(".")`
for the name of the node of first input to current node `opinput(".",0)`or to get full path `opinputpath(".",0)`
etc...
Edited by tamte - July 8, 2021 21:18:15
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
128 posts
Joined: Sept. 2018
Offline
That is it, thank you so much!
User Avatar
Member
85 posts
Joined: April 2017
Offline
Is it possible of referencing a name from previous node and add a string with it so it will change whatever node name upstream will be connected.


In this example the node transform will change to p03_transform
  • Quick Links