Jump to content

Referencing subnet input


Recommended Posts

Hey guys! First post here.

Could anybody help me with something hopefully rather simple?

Basically I am making an HDA. My HDA has a switch in the hierarchy which changes if the input 1 in my subnetwork has more or less than 4 points.

The thing is everything worked fine, until I changed to HDA. Before as an input I had a grid, whose string I had referenced in the IF function in the switch.

I am trying to find out what is the string name for a subnet input 1, so I can reference it in my switch, or am I supposed to do this referencing in a different way.

Plz halp, this is the last piece of my puzzle :D

Thank you very much!!!

 

image.png.071f3394bfa0b613c8de9ac02d8df4ae.png

Link to comment
Share on other sites

Hi Ian,

always use relative path in expressions within HDA. As for your case

if(npoints(opinputpath("..", 1)) > 4, 1, 0)

opinputpath pointing to input 1 of parent node relative node where expression is

 

 

Edited by vicvvsh
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...