I'm trying to set a primitive attribute in a detail wrangle, using
setprimattrib()
For whatever reason the function is not executed at runtime, but after the whole wrangle.
Saying:
prim(0, "primvariable", i);
setprimattrib(0, "primvariable", i, primvalue, "set");
prim(0, "primvariable", i);
returns the same value for both
prim()
Is this expected? I'm quite sure it's at least not desired.
I also include an example file. This is from a more complex thing I'm trying to solve, where I write a value onto different prims if they meet certain criteria. Therefor I can't do it in two wrangles or in a primitive wrangle.
Thanks for any help or pointers!
PS: I tried in h16.5 and h17. I'm running on linux so the
printf()