HDA: Relative Path to Node Inside? {[SOLVED]}

   282   1   0
User Avatar
Member
1255 posts
Joined: 4月 2017
オフライン
Hi!

I made an HDA with a "Label - Message" that changes depending on an attribute inside the HDA. I'm currently using this kind of script to get the attribute:

`details("../myHDA/mySubnetwork/myWrangle", "myAttribute")`

The problem is when I duplicate the HDA (creating an HDA named myHDA1), the path does not work anymore because of the 1 at the end of the name.

What's the proper way to do the relative path?
Edited by olivierth - 2026年9月22日 10:23:39
-Olivier
User Avatar
Member
1255 posts
Joined: 4月 2017
オフライン
AHHH!! Found the solution. for the script, instead of:

`details("../myHDA/mySubnetwork/myWrangle", "myAttribute")`

I need to use:

`details("mySubnetwork/myWrangle", "myAttribute")`
-Olivier
  • Quick Links