hi !I'd try to make this with the comp.indexafter extruding your hexagonal shape, use the comp(). when using the side selection, pass on the comp.index as an argument to the next rule. this will give each facade an index with which you then can work.Here's the code :[ did not check the code, just writing it down here ]Try this, then adapt the indices below in the code ( currently 0 and 1 )Lot -->
extrude(3)
comp(f) {top : Roof. | side : Facade(comp.index) | all : NIL}
Facade( myIndex ) -->
case myIndex == 0 :
color(1,0,0)
case myIndex == 1 :
color(1,0,0)
else :
color(0,1,0)
after this test works, continue in your own code. ok ?