<?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: Designate Multiple Street Edges in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/designate-multiple-street-edges/m-p/166126#M2227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cheryl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply! Calling the streetWidth attribute in cga rules sounds like a good workaround! I'll give it a try and post the results here.&lt;/P&gt;&lt;P&gt;But I have a follow-up question. Our ultimate goal is to export the rule package and use it in Pro and potentially GeoPlanner down the road. Is there a way I can keep&amp;nbsp;the streetWidth attribute when I export the shapes out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lesi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Sep 2017 15:09:29 GMT</pubDate>
    <dc:creator>LesiMai1</dc:creator>
    <dc:date>2017-09-22T15:09:29Z</dc:date>
    <item>
      <title>Designate Multiple Street Edges</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/designate-multiple-street-edges/m-p/166124#M2225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I can designate multiple edges as street edges in CityEngine using the Set Street Edges tool. But I'm wondering if I can further distinguish the street edges so that I can have different setbacks depending on the street type the edge is facing. I'm looking for a workflow that can automate this process if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers are greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Lesi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 20:37:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/designate-multiple-street-edges/m-p/166124#M2225</guid>
      <dc:creator>LesiMai1</dc:creator>
      <dc:date>2017-08-04T20:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Designate Multiple Street Edges</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/designate-multiple-street-edges/m-p/166125#M2226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you set some edges of a polygon shape to be street edges (Shapes -&amp;gt; Set Street Edges), then there is an object attribute called streetWidth which contains a list of street widths. &amp;nbsp;It's just a workaround, but you can change the values in this list (numbers separated by semicolons, and ending with a semicolon). &amp;nbsp;The list starts with the first edge of the polygon (shown in orange when shape is selected) and goes counterclockwise around the polygon. &amp;nbsp;Then, you can connect a rule attribute to this object attribute to access the values in the cga code where the setbacks are called.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 08:56:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/designate-multiple-street-edges/m-p/166125#M2226</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2017-09-22T08:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Designate Multiple Street Edges</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/designate-multiple-street-edges/m-p/166126#M2227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cheryl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply! Calling the streetWidth attribute in cga rules sounds like a good workaround! I'll give it a try and post the results here.&lt;/P&gt;&lt;P&gt;But I have a follow-up question. Our ultimate goal is to export the rule package and use it in Pro and potentially GeoPlanner down the road. Is there a way I can keep&amp;nbsp;the streetWidth attribute when I export the shapes out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lesi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 15:09:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/designate-multiple-street-edges/m-p/166126#M2227</guid>
      <dc:creator>LesiMai1</dc:creator>
      <dc:date>2017-09-22T15:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Designate Multiple Street Edges</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/designate-multiple-street-edges/m-p/166127#M2228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know about Pro or GeoPlanner, but you can certainly export object attributes when you export the shapes, for example, to a GDB file.&amp;nbsp; Make sure that "Export object attributes" is checked in the FileGDB dialog.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/export/export_formats_fgdb.html?resultof=%22%65%78%70%6f%72%74%22%20%22%67%64%62%22%20" title="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/export/export_formats_fgdb.html?resultof=%22%65%78%70%6f%72%74%22%20%22%67%64%62%22%20"&gt;Esri FileGeodatabase (FileGDB) Export&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 11:22:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/designate-multiple-street-edges/m-p/166127#M2228</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2017-10-16T11:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Designate Multiple Street Edges</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/designate-multiple-street-edges/m-p/166128#M2229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On second thought, when I read your other post, I realized that doing setbacks of different distances according to street width is not that easy, especially when you have lot shapes with rounded corners.&amp;nbsp; Here is the link to my reply to the other post:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.esri.com/message/717450-select-a-range-of-edge-index?et=watches.email.thread#comment-722294" title="https://community.esri.com/message/717450-select-a-range-of-edge-index?et=watches.email.thread#comment-722294"&gt;https://community.esri.com/message/717450-select-a-range-of-edge-index?et=watches.email.thread#comment-722294&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 13:49:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/designate-multiple-street-edges/m-p/166128#M2229</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2017-10-16T13:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Designate Multiple Street Edges</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/designate-multiple-street-edges/m-p/166129#M2230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note that to access the streetWidth object attribute, you can create a rule attribute with a parameter for the index like this:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;attr streetWidth(i) = 0&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Then, you can access the street width values by specifying the index as the parameter:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;print(streetWidth(0))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// print first street width in list&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 16:21:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/designate-multiple-street-edges/m-p/166129#M2230</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2017-10-16T16:21:03Z</dc:date>
    </item>
  </channel>
</rss>

