Jump to content
Sign in to follow this  
monomind

Channel from connected node?

Recommended Posts

I've made a custom integer on a file node - and I would like to use that for naming my files in ROP file output. File node is directly connected to ROP out.

How can I reach this custom parameter on connected opinput?

Custom parameter name is "mode" - here is what I tried:

houdinifx_oggaxkYmDc.png.ca5fb75f660f43dcf86c1215efb3137a.png

 

 

Share this post


Link to post
Share on other sites

if it's integer then something like this

$HIP/layers/`ch(opinputpath(".",0) + "/mode")`.png

if string

$HIP/layers/`chs(opinputpath(".",0) + "/mode")`.png

 

  • Thanks 1

Share this post


Link to post
Share on other sites

I hope Tomas will never leave this forum !!!!!   !!!!

  • Thanks 1

Share this post


Link to post
Share on other sites

Hm, can I read the first input of another node?

NODE 1 connected to NODE 2 --- I'm in NODE 5, trying to get NODE 1 from NODE 2

Share this post


Link to post
Share on other sites
15 minutes ago, monomind said:

Hm, can I read the first input of another node?

NODE 1 connected to NODE 2 --- I'm in NODE 5, trying to get NODE 1 from NODE 2

$HIP/layers/`ch(opinputpath("../NODE2",0) + "/mode")`.png

 

  • Thanks 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×