<?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 Create new model using roads SHP file and define boundary (Mask the model) in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/create-new-model-using-roads-shp-file-and-define/m-p/363337#M4987</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have roads as a shp file, i'm trying to create lots between all the roads and mask the model within a boundary (maybe a polygon shp file?) so that no roads or lots (Blocks) go outside that boundary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way i've been doing this is by importing the SHP file and checking 'Create Block/Lot Shapes from Graph'&lt;/P&gt;&lt;P&gt;this will create lots in some of the areas, but not all, what i really want it for it to create lots between all of the roads within a boundary ie. maybe a square boundary in this case where there would be no lots or roads generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone point me in the right direction please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 May 2017 13:40:50 GMT</pubDate>
    <dc:creator>deleted-user-qCpyynw67wg8</dc:creator>
    <dc:date>2017-05-26T13:40:50Z</dc:date>
    <item>
      <title>Create new model using roads SHP file and define boundary (Mask the model)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/create-new-model-using-roads-shp-file-and-define/m-p/363337#M4987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have roads as a shp file, i'm trying to create lots between all the roads and mask the model within a boundary (maybe a polygon shp file?) so that no roads or lots (Blocks) go outside that boundary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way i've been doing this is by importing the SHP file and checking 'Create Block/Lot Shapes from Graph'&lt;/P&gt;&lt;P&gt;this will create lots in some of the areas, but not all, what i really want it for it to create lots between all of the roads within a boundary ie. maybe a square boundary in this case where there would be no lots or roads generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone point me in the right direction please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 13:40:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/create-new-model-using-roads-shp-file-and-define/m-p/363337#M4987</guid>
      <dc:creator>deleted-user-qCpyynw67wg8</dc:creator>
      <dc:date>2017-05-26T13:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create new model using roads SHP file and define boundary (Mask the model)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/create-new-model-using-roads-shp-file-and-define/m-p/363338#M4988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the questions. &lt;/P&gt;&lt;P&gt;For SHP files no boundaries can be defined on import. This option is only available for FileGDBs:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/354383_pastedImage_2.png" style="width: 620px; height: 727px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Block/Lot Shapes can only be created within a&lt;SPAN&gt; loop in the graph network.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If there is an error in the graph network (marked red), it has to be resolved first, before a block is generated. &lt;BR /&gt;This task can be automated with the &lt;A class="link-titled" href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/sn/cleanup.html" title="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/sn/cleanup.html"&gt;Cleanup Graph Networks&lt;/A&gt; tool.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/354364_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2017 17:08:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/create-new-model-using-roads-shp-file-and-define/m-p/363338#M4988</guid>
      <dc:creator>ThomasFuchs</dc:creator>
      <dc:date>2017-05-29T17:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create new model using roads SHP file and define boundary (Mask the model)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/create-new-model-using-roads-shp-file-and-define/m-p/363339#M4989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks for this Thomas, will give it a go..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 08:23:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/create-new-model-using-roads-shp-file-and-define/m-p/363339#M4989</guid>
      <dc:creator>deleted-user-qCpyynw67wg8</dc:creator>
      <dc:date>2017-05-31T08:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Create new model using roads SHP file and define boundary (Mask the model)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/create-new-model-using-roads-shp-file-and-define/m-p/363340#M4990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;many thanks for your help with this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've had a go with this but cannot get it to do exactly what i'm after.... &amp;nbsp;see below elaborated....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We draw our zoning areas in Autocad Map 3D, and can save out a shp file, either polygon or line ( I haven’t managed to suss out which is best) and we would like cityengine to grow streets inside these areas and populate the areas with relevant buildings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The task….&amp;nbsp;&lt;/P&gt;&lt;P&gt;- grow streets in each area (including a street around the shape boundary)&lt;/P&gt;&lt;P&gt;&amp;nbsp; streets should be grown in either residential (closer roads and smaller parcels) or commercial style (larger road grid and larger parcels) The shp file input has a field to define whether the area is for residential or commercial.&lt;/P&gt;&lt;P&gt;- generate buildings for each area (residential or commercial) based on the SHP file field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've looked through the tutorials and it explains a similar process using images however i need to use vector data and limit the roads to these areas...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you have any ideas on how to take this forward? maybe some Python scripting required?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 13:36:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/create-new-model-using-roads-shp-file-and-define/m-p/363340#M4990</guid>
      <dc:creator>deleted-user-qCpyynw67wg8</dc:creator>
      <dc:date>2017-08-25T13:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create new model using roads SHP file and define boundary (Mask the model)</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/create-new-model-using-roads-shp-file-and-define/m-p/363341#M4991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a difficult task in CityEngine.&amp;nbsp; However, you could try something like the following:&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; Import the shape file to create a graph network where the roads create your residential or commercial blocks.&lt;/P&gt;&lt;P&gt;2)&amp;nbsp; Create another graph network(s) using Grow Streets in a separate layer, according to the style you want.&lt;/P&gt;&lt;P&gt;3)&amp;nbsp; For each block, copy the graph segments that have at least one node inside the block into the original layer.&lt;/P&gt;&lt;P&gt;4)&amp;nbsp; Do some graph cleanup (Graph -&amp;gt; Cleanup Graph) to merge the new segments with the original segments from the shape file.&amp;nbsp; Some experimentation with the settings will probably be needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This could probably be automated with Python.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also try to create your own graph growing algorithm and specify street vertices in Python using createGraphSegments() if you want something really custom.&amp;nbsp; Use getObjectsFrom() and to get the imported blocks and getVertices() to get their vertices and getAttribute() to get the object attribute that says whether the block is residential or commercial.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2017 10:09:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/create-new-model-using-roads-shp-file-and-define/m-p/363341#M4991</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2017-10-02T10:09:26Z</dc:date>
    </item>
  </channel>
</rss>

