<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Upper level building setbacks in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/upper-level-building-setbacks/m-p/1393723#M11302</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have used the LShape with 0 width for the second wing, in order to control a building massing's depth (20m in this case).&amp;nbsp; The LShape was set first with lot min. setbacks to front, left, back, right.&lt;/P&gt;&lt;P&gt;I'm trying to build in the ability to add upper floor setbacks and control which floor the upperlevel setback starts, as well as the setback distance from each edge, without any success.&lt;/P&gt;&lt;P&gt;I tried incorporating the rule in this thread, however I also have a split as the ground floor has a different height to the upper floors. Also the upper floors in the thread below output just the floor plates and not a mass. &lt;A href="https://community.esri.com/t5/3d-mapping-questions/setback-after-height/m-p/775262" target="_blank"&gt;https://community.esri.com/t5/3d-mapping-questions/setback-after-height/m-p/775262&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I also tried adapting the rule in this thread (&lt;A href="https://community.esri.com/t5/arcgis-cityengine-questions/different-setbacks-in-the-same-building/td-p/116985" target="_blank"&gt;https://community.esri.com/t5/arcgis-cityengine-questions/different-setbacks-in-the-same-building/td-p/116985)&lt;/A&gt;&lt;A href="https://community.esri.com/t5/arcgis-cityengine-questions/different-setbacks-in-the-same-building/td-p/116985" target="_blank"&gt;,&lt;/A&gt;&amp;nbsp;using an LShape instead of an OShape but without success.&lt;/P&gt;&lt;P&gt;Can anyone help with this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CityEngine_LShapeUppersetbacks.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97509iD627FCD21CB7FD20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CityEngine_LShapeUppersetbacks.png" alt="CityEngine_LShapeUppersetbacks.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 10 Mar 2024 03:09:12 GMT</pubDate>
    <dc:creator>jabrett</dc:creator>
    <dc:date>2024-03-10T03:09:12Z</dc:date>
    <item>
      <title>Upper level building setbacks</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/upper-level-building-setbacks/m-p/1393723#M11302</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have used the LShape with 0 width for the second wing, in order to control a building massing's depth (20m in this case).&amp;nbsp; The LShape was set first with lot min. setbacks to front, left, back, right.&lt;/P&gt;&lt;P&gt;I'm trying to build in the ability to add upper floor setbacks and control which floor the upperlevel setback starts, as well as the setback distance from each edge, without any success.&lt;/P&gt;&lt;P&gt;I tried incorporating the rule in this thread, however I also have a split as the ground floor has a different height to the upper floors. Also the upper floors in the thread below output just the floor plates and not a mass. &lt;A href="https://community.esri.com/t5/3d-mapping-questions/setback-after-height/m-p/775262" target="_blank"&gt;https://community.esri.com/t5/3d-mapping-questions/setback-after-height/m-p/775262&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I also tried adapting the rule in this thread (&lt;A href="https://community.esri.com/t5/arcgis-cityengine-questions/different-setbacks-in-the-same-building/td-p/116985" target="_blank"&gt;https://community.esri.com/t5/arcgis-cityengine-questions/different-setbacks-in-the-same-building/td-p/116985)&lt;/A&gt;&lt;A href="https://community.esri.com/t5/arcgis-cityengine-questions/different-setbacks-in-the-same-building/td-p/116985" target="_blank"&gt;,&lt;/A&gt;&amp;nbsp;using an LShape instead of an OShape but without success.&lt;/P&gt;&lt;P&gt;Can anyone help with this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CityEngine_LShapeUppersetbacks.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97509iD627FCD21CB7FD20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CityEngine_LShapeUppersetbacks.png" alt="CityEngine_LShapeUppersetbacks.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2024 03:09:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/upper-level-building-setbacks/m-p/1393723#M11302</guid>
      <dc:creator>jabrett</dc:creator>
      <dc:date>2024-03-10T03:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Upper level building setbacks</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/upper-level-building-setbacks/m-p/1394438#M11305</link>
      <description>&lt;P&gt;I'm not sure I understand your question.&lt;BR /&gt;There's probably a better way, but here's what I did.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;@Group("Lshape_setting",0)
@Order(0)
@Range(min=0, max=100, stepsize=1)
attr FrontDepth = 0

@Order(1)
@Range(min=0, max=100, stepsize=1)
attr LeftDepth = 0

@Group("Floor_setting",1)
@Order(0)
@Range(min=3, max=5, stepsize=0.1)
attr groundFloorHeight = 4

@Order(1)
@Range(min=2, max=10, stepsize=1)
attr upperFloorCount = 3

@Order(2)
@Range(min=3, max=5, stepsize=0.1)
attr upperFloorHeight = 3.5

@Order(3)
@Range(min=2, max=10, stepsize=1)
attr setbackFloorCount =2

@Order(4)
@Range(min=3, max=5, stepsize=0.1)
attr setbackFloorHeight = 3.5


@Group("Setback_setting",2)
@Order(0)
@Range(min=0, max=100, stepsize=0.5)
attr setbackFrontWidth = 1

@Order(1)
@Range(min=0, max=100, stepsize=0.5)
attr setbackRightWidth = 1

@Order(2)
@Range(min=0, max=100, stepsize=0.5)
attr setbackLeftWidth = 1

@Order(3)
@Range(min=0, max=100, stepsize=0.5)
attr setbackBackWidth = 1



Lot --&amp;gt;
	shapeL(FrontDepth,LeftDepth){shape : L_Base | remainder : X.}

L_Base --&amp;gt;
	extrude(groundFloorHeight)
	GroundFloor 
	
GroundFloor --&amp;gt; 
	color(1,0,0)
	comp(f){top : UpperFloor | all : GroundFloorWall.}

UpperFloor --&amp;gt;
	color(0,1,0)
	extrude(upperFloorHeight*upperFloorCount) 
	comp(f){top : SetbackBase | side : UpperFloorWall}
	
UpperFloorWall --&amp;gt;
	split(y){upperFloorHeight : UpperFloorFacade.}*
	
SetbackBase --&amp;gt;
	innerRectangle(scope){shape : SetbackFloorBase | remainder : X.}
	
SetbackFloorBase --&amp;gt;
	alignScopeToAxes(object.xyz)
	shapeO(setbackFrontWidth,setbackRightWidth,setbackBackWidth,setbackLeftWidth){shape : X. | remainder : SetbackFootprint}
	
SetbackFootprint --&amp;gt;
	color(0,0,1)
	extrude(setbackFloorCount*setbackFloorHeight) split(y){setbackFloorHeight: setbackFloorFacade.}*
	&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Video_240312085910.gif" style="width: 640px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97632iAA7472AECA09E404/image-size/large?v=v2&amp;amp;px=999" role="button" title="Video_240312085910.gif" alt="Video_240312085910.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 00:01:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/upper-level-building-setbacks/m-p/1394438#M11305</guid>
      <dc:creator>desert</dc:creator>
      <dc:date>2024-03-12T00:01:22Z</dc:date>
    </item>
  </channel>
</rss>

