attr height = 0 #this looks at the height attribute in your building parcel (note the same should be exactly the same as that in the object attributes attr floor_height = 3.8 #value here should be the height each floor is Lot-->extrude(height) Building Building-->comp(f){side : Facade | top : Roof} Facade-->split(y){{floor_height : Floor }*| ~1 : Wall} # what this does is split the building up so that based on the building height it creates the floors
attr number_floor = 0 #again same name as what's in your object attribute attr floor_height = 3.8 #use what ever average floor height you want here attr building_height = number_floor*floor_height #this determines the building height based on the other factors Lot--> extrude(building_height) etc.