Displaying open space within building footprint

723
1
04-18-2013 12:42 PM
DavidKossowsky
New Contributor
I have a building footprint that shows the setback area as open-space (green space), however depending on the shape of the building, I want to remainder of the building footprint to become open space as well. Is there any way to do this? I have included an image which hopefully explains what I want to do.

Thanks.[ATTACH=CONFIG]23618[/ATTACH]

My code is:

Parcel -->  #create parcel from outline
 setback (distanceStreet)
  { street.front: OpenSpace | remainder: SubParcel}

SubParcel --> #divide parcel into subparcel for open space and building space designation
 setback (distanceBuilding)
  { street.back: OpenSpace | street.left : OpenSpace | street.right : OpenSpace | remainder: Footprint}
OpenSpace -->
 color ("#77ff77")
Tags (2)
0 Kudos
1 Reply
MatthiasBuehler1
Frequent Contributor
Hi !

That cannot be the full code, because you have some extrudes.

Just find the shape which is not green and trigger the OpenSpace rule there.

Check out precisely how the Model Hierarchy works to track such things down.

Read this thread and watch the video.
http://forums.arcgis.com/threads/44417-CGA-Understanding-the-concept-of-the-scope

Also, check tutorial video 6 here :
http://forums.arcgis.com/threads/64843-CityEngine-Collection-RESOURCES-FAQ-HELP


Ok ?
0 Kudos