version "2011.2" attr buildingHeight = 10 attr buildingColor = "#4A708B" attr leftColor = "#FF0000" attr rightColor = "#0000FF" attr backColor = "#FFA500" attr frontColor = "#800080" attr frontSetback = 2 attr leftSetback = 8 attr rightSetback = 4 attr backSetback = 10 @StartRule LotInner --> NIL. @StartRule LotCorner --> NIL. @StartRule Lot --> setback(frontSetback){ front: color(frontColor) FrontPart.| remainder: MinusFront } MinusFront --> setback(leftSetback){ left: color(leftColor) LeftPart.| remainder: MinusFrontAndLeft } MinusFrontAndLeft --> setback(rightSetback){ right: color(rightColor) RightPart.| remainder: MinusFrontLeftAndRight } MinusFrontLeftAndRight --> setback(backSetback){ back: color(backColor) BackPart.| remainder: MinusFrontLeftRightAndBack } MinusFrontLeftRightAndBack --> Mass Mass --> alignScopeToAxes(y) extrude(world.y, buildingHeight) color(buildingColor) Mass.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.