You add a reference to a balcony rule in the same bit that references the window generation and use a case to control its generation, like this:
attr BalconyEnabled = true
Lot -->
Window
Balcony
Window -->
...
Balcony -->
case BalconyEnabled == true: RuleForBalconyCreation
else: NIL
RuleForBalconyCreation -->
...
Thank you, for the balcony the switch works fine but fot the details such as the red top ornament it wont. it just disapeared with this rule..
attr OrnamentTopEnabled = true
WindowOrnamentTop -->
case OrnamentTopEnabled == true: WindowOrnamentTop
s('1.2, 0.4, 0.3) center(x)
i(ornament1)
color("#ff0000")
else: NIL
That rule calls itself when the case is true, infinitely.