<?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: StreetWidth Used in Setback in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725486#M9595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In 2019.0,&amp;nbsp;the new operation &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;setbackPerEdge()&lt;/SPAN&gt; allows you to create a setback with different setback distances on each edge.&amp;nbsp; It takes as input a function that specifies the setback distance per edge.&amp;nbsp; The function is evaluated per edge, and &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;comp&lt;/SPAN&gt; and &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;scope&lt;/SPAN&gt; attributes are accessible within this function.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/cityengine/latest/cga/cga-setback-per-edge-operation.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;https://doc.arcgis.com/en/cityengine/latest/cga/cga-setback-per-edge-operation.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code creates a setback where the setback distances are equivalent to the street width on each edge.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;attr streetWidth(i) = 0

myFunc = streetWidth(comp.index)

Lot --&amp;gt;
	setbackPerEdge(myFunc) { all: Green | remainder: Red }
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 07:01:28 GMT</pubDate>
    <dc:creator>CherylLau</dc:creator>
    <dc:date>2021-12-12T07:01:28Z</dc:date>
    <item>
      <title>StreetWidth Used in Setback</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725485#M9594</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'm wondering if there is a way to use the StreetWidth attribute so that setbacks can be based on the width of the street the lot side is facing. For instance, if it's a corner lot, I want to have a larger setback for the side that's facing a wider street and a smaller one&amp;nbsp;for the side that's facing a narrower street.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers will be greatly appreciated! Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lesi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2019 15:50:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725485#M9594</guid>
      <dc:creator>LesiMai</dc:creator>
      <dc:date>2019-01-07T15:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: StreetWidth Used in Setback</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725486#M9595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In 2019.0,&amp;nbsp;the new operation &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;setbackPerEdge()&lt;/SPAN&gt; allows you to create a setback with different setback distances on each edge.&amp;nbsp; It takes as input a function that specifies the setback distance per edge.&amp;nbsp; The function is evaluated per edge, and &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;comp&lt;/SPAN&gt; and &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;scope&lt;/SPAN&gt; attributes are accessible within this function.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/cityengine/latest/cga/cga-setback-per-edge-operation.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;https://doc.arcgis.com/en/cityengine/latest/cga/cga-setback-per-edge-operation.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code creates a setback where the setback distances are equivalent to the street width on each edge.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;attr streetWidth(i) = 0

myFunc = streetWidth(comp.index)

Lot --&amp;gt;
	setbackPerEdge(myFunc) { all: Green | remainder: Red }
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:01:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725486#M9595</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2021-12-12T07:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: StreetWidth Used in Setback</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725487#M9596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Cheryl&amp;nbsp;for&amp;nbsp;the update on the new functionalities! I'll test it out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2019 17:15:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725487#M9596</guid>
      <dc:creator>LesiMai</dc:creator>
      <dc:date>2019-05-15T17:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: StreetWidth Used in Setback</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725488#M9597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cheryl, to clarify, a CE generated lot shape will have access to the street parameters? What about other rule attributes/parameters?&lt;BR /&gt;&lt;BR /&gt;What about imported data?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2019 22:25:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725488#M9597</guid>
      <dc:creator>DavidWasserman</dc:creator>
      <dc:date>2019-05-15T22:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: StreetWidth Used in Setback</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725489#M9598</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;As a follow up on this same question, I'm trying to use envelope and setback function for imported parcels.CE 2019 provided versatility for setbacks, setbackPerEdge documentation showed an example of &lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14.875px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;edge attribute's orientations&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14.875px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f8f8f8; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;dist(orientation) = &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14.875px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;SPAN class="" style="color: #aa0d91; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;case&lt;/SPAN&gt;&lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f8f8f8; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt; orientation == &lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;"park"&lt;/SPAN&gt;&lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f8f8f8; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt; : &lt;/SPAN&gt;&lt;SPAN class="" style="color: #1c00cf; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f8f8f8; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14.875px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;SPAN class="" style="color: #aa0d91; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;case&lt;/SPAN&gt;&lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f8f8f8; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt; orientation == &lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;"street"&lt;/SPAN&gt;&lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f8f8f8; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt; : &lt;/SPAN&gt;&lt;SPAN class="" style="color: #1c00cf; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;7&lt;/SPAN&gt;&lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f8f8f8; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14.875px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;SPAN class="" style="color: #aa0d91; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;case&lt;/SPAN&gt;&lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f8f8f8; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt; orientation == &lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;"lot"&lt;/SPAN&gt;&lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f8f8f8; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt; : &lt;/SPAN&gt;&lt;SPAN class="" style="color: #1c00cf; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f8f8f8; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14.875px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;SPAN class="" style="color: #aa0d91; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;case&lt;/SPAN&gt;&lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f8f8f8; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt; orientation == &lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;"back"&lt;/SPAN&gt;&lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f8f8f8; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt; : &lt;/SPAN&gt;&lt;SPAN class="" style="color: #1c00cf; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f8f8f8; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14.875px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;SPAN class="" style="color: #aa0d91; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;else&lt;/SPAN&gt;&lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f8f8f8; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt; : &lt;/SPAN&gt;&lt;SPAN class="" style="color: #1c00cf; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My question is how to setup and customise edge attributes for mass data such as the example with parks, streets etc. For envelopes, the front of the envelopes uses street fronts. What I want my front is to be base on compass direction. I tried comp(e) using world.compass direction but the function didn't work.&amp;nbsp; Now with CE2019 my assumption to achieve what I wanted will be using one set of edge attributes to rearrange street orientation for the envelope function and another set of edge attributes for my setback.&amp;nbsp; But could not seem to find any documentation on setting up edge attributes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2019 10:46:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725489#M9598</guid>
      <dc:creator>KZ</dc:creator>
      <dc:date>2019-05-16T10:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: StreetWidth Used in Setback</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725490#M9599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;streetWidth&lt;/SPAN&gt; attribute is a special case.&amp;nbsp; See this post:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.esri.com/message/722386-re-designate-multiple-street-edges?commentID=722386&amp;amp;et=watches.email.outcome#comment-722386" title="https://community.esri.com/message/722386-re-designate-multiple-street-edges?commentID=722386&amp;amp;et=watches.email.outcome#comment-722386"&gt;https://community.esri.com/message/722386-re-designate-multiple-street-edges?commentID=722386&amp;amp;et=watches.email.outcome#c…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2019 09:52:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725490#M9599</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2019-05-17T09:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: StreetWidth Used in Setback</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725491#M9600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In 2019.0, you can create custom edge attributes manually in the Inspector by adding new object attributes.&amp;nbsp; Edge attributes&amp;nbsp;must have&amp;nbsp;the prefix &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;/edgeattr/&lt;/SPAN&gt;.&amp;nbsp; When creating an edge attribute, choose an array type (BOOL[], FLOAT[], or STR[]) and enter in as many values as you have edges, and terminate each value with a semicolon.&amp;nbsp; After the edge attribute has been created, you can also change a value for an edge in the Inspector by selecting the individual edge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&amp;nbsp;if I had a triangle shape and I wanted to&amp;nbsp;create an edge attribute for the color of each edge, I would create the following edge attribute.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/447873_create_edge_attr.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edge attributes can also be created using Python using &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;ce.setAttribute&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On non-dynamic shapes (shapes not created by street networks), you can calculate edge attributes for each shape using the built in menu option (&lt;STRONG&gt;Shapes&amp;nbsp;-&amp;gt; Compute Edge Attributes&lt;/STRONG&gt;).&amp;nbsp; This uses the nearest streets to calculate information like &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;/edgeattr/orientations&lt;/SPAN&gt;, &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;/edgeattr/streetcategories&lt;/SPAN&gt;, and &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;/edgeattr/streetwidths&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/cityengine/latest/help/help-compute-attributes.htm"&gt;https://doc.arcgis.com/en/cityengine/latest/help/help-compute-attributes.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In CGA, you can access these edge attributes using &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;edgeAttr.getFloat()&lt;/SPAN&gt;, &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;edgeAttr.getString()&lt;/SPAN&gt;, &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;edgeAttr.getBool()&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/cityengine/latest/cga/cga-edge-attr-function.htm"&gt;https://doc.arcgis.com/en/cityengine/latest/cga/cga-edge-attr-function.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the triangle example above, I could color the edges of the triangle using &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;edgeAttr.getString("color")&lt;/SPAN&gt;.&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;comp(fe) { all: color(edgeAttr.getString("color")) primitiveCube s('1, w, w) center(yz) Edge. }&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>Fri, 17 May 2019 13:31:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725491#M9600</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2019-05-17T13:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: StreetWidth Used in Setback</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725492#M9601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it. Only on parcels CE generates or also can be associated with a first edge operation?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2019 18:24:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725492#M9601</guid>
      <dc:creator>DavidWasserman</dc:creator>
      <dc:date>2019-05-17T18:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: StreetWidth Used in Setback</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725493#M9602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don't understand this question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2019 07:05:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725493#M9602</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2019-05-20T07:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: StreetWidth Used in Setback</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725494#M9603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess my question is there are two types of "parcels" or "lots" in CityEngine. One generated by outlines of roads, and those imported. I guess my question is how this applies to imported parcels and how one might go about orienting their edges for these operations.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2019 16:29:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725494#M9603</guid>
      <dc:creator>DavidWasserman</dc:creator>
      <dc:date>2019-05-28T16:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: StreetWidth Used in Setback</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725495#M9604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The special &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;streetWidth&lt;/SPAN&gt; attribute code&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;will only work if the shape has an object attribute called &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;streetWidth[]&lt;/SPAN&gt; which is an array of floats.&amp;nbsp; This object attribute is automatically generated on dynamic shapes (shapes created by graph networks).&amp;nbsp; This object attribute does not inherently exist on non-dynamic shapes, but it can be created using &lt;STRONG&gt;Shapes -&amp;gt; Compute First/Street Edges&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/cityengine/latest/help/help-shape-edge-tools.htm"&gt;https://doc.arcgis.com/en/cityengine/latest/help/help-shape-edge-tools.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2019 07:06:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/streetwidth-used-in-setback/m-p/725495#M9604</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2019-05-29T07:06:15Z</dc:date>
    </item>
  </channel>
</rss>

