Access parent node in parameter interface

   104   1   0
User Avatar
Member
3 posts
Joined: Sept. 2021
Offline
Hello,
I use a NULL node to store global variables that I use in different parts of my network, like that: ch("../SETTINGS/layer_height").

I'd like to be able to store different configurations in various NULL nodes with the same parameters and switch between configurations by plugging them into the SETTINGS node and have the settings node inherit the parameter value from whatever is plugged in as a parent. In that case I don't know the parent's name (CONFIG1, CONFIG2, etc)

How can I access the parent node without knowing it's name, e.g. ch("../whatever is connected to input 0/layer_height")?
User Avatar
Member
3 posts
Joined: Sept. 2021
Offline
I solved it like this: ch(opinputpath(".",0) + "/layer_height")
  • Quick Links