Solved! Go to Solution.
Thank you @SangmukKyleSeok for your question.
New values can be appended to arrays with this notation:
Generate --> Iterate([0, 1])
Iterate(c)-->
case size(c) >= 10: print(c)
else: Iterate([c, size(c)+1])
Please have a look at the example in the CGA help:
array initialization function—ArcGIS CityEngine Resources | Documentation
Thank you @SangmukKyleSeok for your question.
New values can be appended to arrays with this notation:
Generate --> Iterate([0, 1])
Iterate(c)-->
case size(c) >= 10: print(c)
else: Iterate([c, size(c)+1])
Please have a look at the example in the CGA help:
array initialization function—ArcGIS CityEngine Resources | Documentation