<?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 Re: Subdivision according to existing attributes in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/subdivision-according-to-existing-attributes/m-p/4140#M56</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;as mentioned in the other thread, check the first couple of tutorial videos very thoroughly. This will help you getting the basic concepts of CE and CGA coding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What then may also help you is to subdivide your block shapes with Shape&amp;gt;Subdivide. This will give you the same subdivision parameters as the dynamic block subdivisions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps to start.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jul 2013 08:11:28 GMT</pubDate>
    <dc:creator>MatthiasBuehler1</dc:creator>
    <dc:date>2013-07-11T08:11:28Z</dc:date>
    <item>
      <title>Subdivision according to existing attributes</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/subdivision-according-to-existing-attributes/m-p/4139#M55</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Matthias,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I imported polygons (urban blocks) from the fgdb and I want to subdivide my urban blocks with the following attributes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr minLotWidth&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr maxLotDepth&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr averageLotArea&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr minLotArea&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr averageNbrOfLot&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that Shape parameters&amp;gt; Block Parameters have lotWidthMin and lotAreaMin parameters but I cannot use them because I already have existing urban blocks with many attribute fields that I will use afterwrads. Can you help me writing the code, I'm not really familiar with writing rules.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 06:03:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/subdivision-according-to-existing-attributes/m-p/4139#M55</guid>
      <dc:creator>gulhunduran</dc:creator>
      <dc:date>2013-07-11T06:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Subdivision according to existing attributes</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/subdivision-according-to-existing-attributes/m-p/4140#M56</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;as mentioned in the other thread, check the first couple of tutorial videos very thoroughly. This will help you getting the basic concepts of CE and CGA coding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What then may also help you is to subdivide your block shapes with Shape&amp;gt;Subdivide. This will give you the same subdivision parameters as the dynamic block subdivisions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps to start.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 08:11:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/subdivision-according-to-existing-attributes/m-p/4140#M56</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2013-07-11T08:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Subdivision according to existing attributes</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/subdivision-according-to-existing-attributes/m-p/4141#M57</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Be sure that I watched all the videos and read Manuel at least 5 times:) I have lots of urban blocks and to write a "Lot" rule, I have to split my blocks according to these object attributes first. To use the object attributes, I guess I have to do it with CGA. Isn't it possible? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you again:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 11:09:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/subdivision-according-to-existing-attributes/m-p/4141#M57</guid>
      <dc:creator>gulhunduran</dc:creator>
      <dc:date>2013-07-11T11:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Subdivision according to existing attributes</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/subdivision-according-to-existing-attributes/m-p/4142#M58</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;of course, subdividing lots in CGA is possible, but it's currently limited because we miss some CGA operations to do this nicely.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But you also have to see precisely the attributes are contradicting each other. ( be VERY precise about this ! )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;E.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;attr averageLotArea&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;and &lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;attr minLotArea&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; averageLotArea in a block gives a specific number of lots you want to produce. while minLotArea leaves the number of lots to be produced open.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;easily said, there's no way to solve your precise stated task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Btw. can you explain :&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;attr averageNbrOfLot&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;? What does this express ? average number of Lots per Block ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In general, you have to be aware of the following facts :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;1] CityEngine is very good of creating statistics of the geometries it creates.&lt;BR /&gt;2] CityEngine can not ( and neither any other software on the market ) can take statistics and create well-designed geometries, which directly make architectural sense.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thus, with studying the current CGA operations available, track down which approach to creating geometries is best for you. So there's no code block I could give you which will just make you happy. This is a design problem and CGA is a generic language, thus there's maaany ways how to tackle your problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The best would be you post a very clear image here which shows the types of block subdivision you need and I can try giving you tips how to code them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 14:38:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/subdivision-according-to-existing-attributes/m-p/4142#M58</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2013-07-11T14:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Subdivision according to existing attributes</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/subdivision-according-to-existing-attributes/m-p/4143#M59</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A part of my fgdb polygons are attached.&amp;nbsp; My urban blocks have those attributes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;�?� Min Lot width&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;�?� Max Lot Depth&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;�?� Average Lot area&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;�?� Min lot area&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;�?� Average Number of Lots Per Block &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Each block should be subdivided by �??average lot area�?� value. While doing so, it should also satisfy �?? min lot width�?� and �??max lot depth�?�.&amp;nbsp; Do not enable creation of lots smaller than �??min lot area�?�. Enable stochastic subdivision as long as �??min lot width�?�&amp;amp; �??max lot width�?� is satisfied. Note that at least one edge of each lot should be on the street side( like skeleton subdivision). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is what I�??m trying to code:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 14:29:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/subdivision-according-to-existing-attributes/m-p/4143#M59</guid>
      <dc:creator>gulhunduran</dc:creator>
      <dc:date>2013-07-12T14:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Subdivision according to existing attributes</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/subdivision-according-to-existing-attributes/m-p/4144#M60</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;how were those attributes defined ? Where do their actual values come from ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;are those attributes part of a zoning code ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what you need is not directly and easily possible. You can get near a good solution, but not generate spot-on final geometry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd recommend you start with the skeleton subdivision and start a rule which cuts ( in horizontal direction ), the Lots into the min and max dimensions ( simply with split(x) and split(z). Note that CityEngine works with y being up.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then add checks with color(), if the shapes are too wide or thin or deep.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As mentioned, this is something that can not directly be solved because it is an iterative process. you will need manual input.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;m.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 15:58:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/subdivision-according-to-existing-attributes/m-p/4144#M60</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2013-07-12T15:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Subdivision according to existing attributes</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/subdivision-according-to-existing-attributes/m-p/4145#M61</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, these attributes are part of a zoning code and that's why I cannot use manuel input. I'll try ur suggestions, thank you so much for your interest!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;g.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 06:06:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/subdivision-according-to-existing-attributes/m-p/4145#M61</guid>
      <dc:creator>gulhunduran</dc:creator>
      <dc:date>2013-07-16T06:06:11Z</dc:date>
    </item>
  </channel>
</rss>

