I need to specify the volume's name with a variable because I use a multiparm block to collect the volume name.
I didn't find a way to specify the name by variable with vex so I try first to generate vex with python, something like this
content = "@" + volume_name + " = " + volume_value + ";"
return content
But the problem with this solution is that the wrangle is in a for loop (for the multiparm block) and so on it crash sometime because of the update of the vex code. So I did it on python, but I'm stuck with vdb volume.
I would have liked to do it in vex but for that I would need a function like point
setpointattrib(0, name, @ptnum, value, "set");
It's for the tool of this video (time : 01:34)