I was hoping someone might be able to explain or show how a specific vex argument option might be used.
There's a number of vex functions that have similar options like setpointattrib:
In these functions I understand and have used the different options like “set”, “add”, and “mult”.
But I don't understand either “min” or “max” as it's explained in the docs, for say “max”:
Set the attribute to the maximum of itself and the value.
I've tried playing with the function and this option and I can't seem to get any results that suggests to me how it may be used.
I mean if I write ;
setprimattrib(geoself(), “New_Value”, 0, 2.0, “max”);
It will always set the value to the second last argument ( 2.0 in this case ).
But then why use max when “set” does the same thing.
So I thought maybe it works like a clamp;
setprimattrib(geoself(), “New_Value”, 0, 2.1, “set”);
setprimattrib(geoself(), “New_Value”, 0, 2.0, “max”);// Thinking it might reduce it to the “max”, but in testing it stays at 2.1

