I have a setback rule for building which helps to give setback from the street and building, the rule is given below
@Group("Setback",3)
@Order(2) @Range(3,6)
attr distanceStreet = 1
@Order(3) @Range(4,8)
attr distanceBuildings =1
Lot --> Parcel
LotInner --> OpenSpace
Parcel -->
setback(distanceStreet)
{ streetSide: OpenSpace
| remainder: SubParcel }
SubParcel -->
setback(distanceBuildings / 2)
{ noStreetSide: OpenSpace
| remainder: Building}
OpenSpace --> color("#77ff77")
I want to control the set back from all side differently, something like from left, right, front and back.
It will be helpful if someone can help me out in this.
Solved! Go to Solution.
Pretty sure you have to define each setback separately but you can nest it, like so:
setback(attrSBF) {
front : Grass | remainder : setback(attrSBL)
{ left : Grass | remainder : setback(attrSBR)
{ right : Grass | remainder : setback(attrSBB)
{ back : Grass | remainder : Building }
}
}
}
Help also lists some more setback modes: Help -
Pretty sure you have to define each setback separately but you can nest it, like so:
setback(attrSBF) {
front : Grass | remainder : setback(attrSBL)
{ left : Grass | remainder : setback(attrSBR)
{ right : Grass | remainder : setback(attrSBB)
{ back : Grass | remainder : Building }
}
}
}
Help also lists some more setback modes: Help -
Thanks, It worked perfectly as I wanted.