[028] How to Select Specific Segments Using split.index in CityEngine
Learn how to use the split.index function to identify and control specific segments within a procedural split operation for precise architectural logic. This tutorial covers the sequential nature of CGA split operations and demonstrates how to target specific segments using zero-based indexing, allowing for more dynamic and efficient rule writing compared to manual segment definition. What is split.index in CityEngine CGA? split.index is a value used to identify the position of each segment generated during a split operation. Sequential Indexing in Procedural Splits In our previous sessions, we explored the three types of split(~, *, ') operations. Today, I intended to cover splitting by rows and columns, but I felt it would be better to pause and discuss the index at this point. Although we haven't officially learned about axis or scope yet, the split operation works by dividing an area one by one alo...