2022-09-21 01:56 AM
Hello,
Is it possible to set a range for individual array fields? On first glance, I wasn't able to even though I can set the range for the parameter as a whole.
Many thanks
2022-09-21 02:29 AM
Just to clarify, you have an array like [ a,b ] and you want to set a range for just for a, but you have only managed to set a uniform range encompassing both a and b. [ x1< a <x2 , y1< b <y2 ] vs [ x1< a <x2, x1< b <x2 ]
AC22-23 AUS 7000
Self-taught, bend it till it breaks.
Win10 | R5 2600 | 16GB | GTX1660
2022-09-21 02:40 AM
Yes, so I would like to be able to set a range, as in minimum and maximum, so for x[1][1] I might want a different maximum e.g x[1][1] range [0, 1] and x[1][2] range [0, 2]. I currently have it so the range is always the same e.g x range [0, 1]
2022-09-21 01:39 PM
That is not possibly. You can only set it for the whole array.
2022-09-21 01:54 PM
Manual says:
If used on an array parameter, the restriction will be applied to all items individually.
2022-09-22 05:43 AM
The only way is:
Make a dummy parameter which can have a range or list (and it can be switched on demand).
First switch the value basing on selected cell in Your array, then apply the correct value basing on a range. Will work in UI, will not on hotspots...