Hi,
this seems weird, since I could have sworn I used to do this a lot and it always worked, but I was having trouble referencing Attributes of other nodes the other day.
for example, inside a Wrangle node, I'd write:
i@attribute = detail(“../counter”, “numiterations”, 0);
where I renamed the meta import node of a foreach loop to counter. I tried it with the 0 argument at the end and without, nothing seems to work, even autocomplete doesn't show me a list of nodes on the ../ level. It all work in Channel expressions as expected though.
What am I doing wrong?
Cheers,
Ivan
referencing attributes of other nodes in VEX
9997 8 3- ivanmalek
- Member
- 143 posts
- Joined: Sept. 2017
- Offline
- mestela
- Member
- 1798 posts
- Joined: May 2006
- Offline
- ivanmalek
- Member
- 143 posts
- Joined: Sept. 2017
- Offline
- BabaJ
- Member
- 2127 posts
- Joined: Sept. 2015
- Offline
- mestela
- Member
- 1798 posts
- Joined: May 2006
- Offline
- ivanmalek
- Member
- 143 posts
- Joined: Sept. 2017
- Offline
- tamte
- Member
- 8785 posts
- Joined: July 2007
- Offline
- DASD
- Member
- 453 posts
- Joined: Feb. 2013
- Offline
- OdFotan
- Member
- 192 posts
- Joined: April 2015
- Offline
How to do this in a Snippet VOP?
P.s. I know you can use Parameter VOP, but I kinda ask this in relation to my comment right here :$ : https://www.sidefx.com/forum/topic/73545/?page=1#post-310869 [www.sidefx.com]
I'm in COPs so no real possibility to use a direct Wrangle.
P.s. I know you can use Parameter VOP, but I kinda ask this in relation to my comment right here :$ : https://www.sidefx.com/forum/topic/73545/?page=1#post-310869 [www.sidefx.com]
I'm in COPs so no real possibility to use a direct Wrangle.
-
- Quick Links