I would like to get some basic understanding on how to use attributes, channels, references in vex properly.
I'd like to understand in detail why this works:
v@planepos = {`chs("../grid1/tx")`, `chs("../grid1/ty")`, `chs("../grid1/tz")`};
While this throws an error on the fourth line:
f@planeTx = ch("../grid1/tx");
f@planeTy = ch("../grid1/ty");
f@planeTz = ch("../grid1/tz");
v@planepos = {@planeTx, @planeTy, @planeTz};
And could I avoid the relative references at all?
I am aware that the attribute wrangle has some optional inputs, how could I make use of them to achieve the same result as my first example?
something like: v@planepos = attrib(1, 'Center')