thx a lot, but I had write another based on yours anyway 😛
I ran into some problems, if you could give me a hand.....
1º - I'm trying to set different setback atributes to the groundfloors, but it generates mixed geometry , the volumes are inside each other so the area calculation gives me a wrong number ....
SetbackAll () -->
setback ( AfastamentoFrontalRand ) { street.front : NIL | remainder :
setback ( AfastamentoFundosRand ) { street.back : NIL | remainder : SubirateCoefAprov
setback ( AfastamentoLateralRand ) {street.side : NIL | remainder :
SubirateCoefAprov
}
}
}
2º - i'm trying insert a condition related to the front side of a lot, but I don't know how to get this measure ( number ) .... the lot.front is what I want
Afastamentos -->
case lot.front < 15
set ( AreadoLote, geometry.area )
report ( "Area do Lote" , AreadoLote )
Setbackfunction1
else :
set ( AreadoLote, geometry.area )
report ( "Area do Lote" , AreadoLote )
Setbackfunction2
3º - I would like to know how to also limit the hight ( number of generated floors ) of a building by its total built area
something like this....
thanks again and sorry for my english