I added primitive numbers to an array representing the front and back of the geo (a box). Now, I would like to remove values from the array if they are at the bottom of the geo.
I've taken care of grouping primitives at the front, back and bottom and tested them. And now, I don't know how to remove the bottom primitives numbers from the array. I tried toggle but it only works partially.
In detail mode you could loop/iterate over the number of primitives using the ‘index/count’ of the loop for the any of the array type functions to suit your purpose, e.g. array(), append(), removeindex()…etc.
I ended placing and if statement inside an if statement.
//array of possible top door placementif((i@group_back == 1) || (i@group_front == 1))
{if(i@group_bottom != 1)
{setdetailattrib(0, "possible", @primnum, "append");
}}