I've used this function about a hundred times (but maybe I'm crazy) and its not working in my scene. I've got 2 detail wrangles: top one (named "source"):
f@value = 8.0;
bottom one (named "fetch_float"):
f@testValue = detail("../source/", "value", 0)
...but the bottom wrangle gets the value 0 instead of 8. isn't this suposed to work?
...but the bottom wrangle gets the value 0 instead of 8. isn't this suposed to work?
attribute functions in VEX can't reference other nodes, only read from files. The first argument is a path to a file on disk. Houdini can read from nodes as if they are virtual files by prefixing the node's path with op: as @gorrod suggests.