<?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 Bi-directional shape/attribute communication  in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/bi-directional-shape-attribute-communication/m-p/28560#M405</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An interesting by-product of my little experiments from this thread ... thanks&amp;nbsp;Cheryl !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://community.esri.com/thread/229250"&gt;Minimum distance based on axis / world orientation ?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With a bit of hacking I managed to get different shapes and rules to talk to each other (passing level numbers in this case) with just a single Attribute Connection Link - shapeID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Bi-directional communication between shapes and rule files" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/455237_BI_Directional_Comms.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just a simple proof of concept where;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Initial slide (everything separate) shows each podium's and tower's number of levels.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Podiums (red text) report on total number of levels - itself plus all towers placed on top of it.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Towers (blue text)&amp;nbsp;&lt;SPAN&gt;report on total number of levels - themselves plus all towers placed on top of the &lt;SPAN style="text-decoration: underline;"&gt;same&lt;/SPAN&gt;&amp;nbsp;common podium.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So essentially podiums communicate one of their attributes to the towers, and towers communicate&amp;nbsp;one of their attributes to the podiums.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Podiums and Towers have different rule files applied,&amp;nbsp;with only a single Connect Attribute link applied to both - a unique shapeID. They are not linked in any other way nor do they share common attribute names etc.&lt;/P&gt;&lt;P&gt;It's all handled via occlusion queries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" height="234" src="https://community.esri.com/legacyfs/online/455239_pastedImage_11.png" width="469" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Aug 2019 05:13:07 GMT</pubDate>
    <dc:creator>AlanKlys</dc:creator>
    <dc:date>2019-08-05T05:13:07Z</dc:date>
    <item>
      <title>Bi-directional shape/attribute communication</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/bi-directional-shape-attribute-communication/m-p/28560#M405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An interesting by-product of my little experiments from this thread ... thanks&amp;nbsp;Cheryl !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://community.esri.com/thread/229250"&gt;Minimum distance based on axis / world orientation ?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With a bit of hacking I managed to get different shapes and rules to talk to each other (passing level numbers in this case) with just a single Attribute Connection Link - shapeID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Bi-directional communication between shapes and rule files" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/455237_BI_Directional_Comms.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just a simple proof of concept where;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Initial slide (everything separate) shows each podium's and tower's number of levels.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Podiums (red text) report on total number of levels - itself plus all towers placed on top of it.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Towers (blue text)&amp;nbsp;&lt;SPAN&gt;report on total number of levels - themselves plus all towers placed on top of the &lt;SPAN style="text-decoration: underline;"&gt;same&lt;/SPAN&gt;&amp;nbsp;common podium.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So essentially podiums communicate one of their attributes to the towers, and towers communicate&amp;nbsp;one of their attributes to the podiums.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Podiums and Towers have different rule files applied,&amp;nbsp;with only a single Connect Attribute link applied to both - a unique shapeID. They are not linked in any other way nor do they share common attribute names etc.&lt;/P&gt;&lt;P&gt;It's all handled via occlusion queries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" height="234" src="https://community.esri.com/legacyfs/online/455239_pastedImage_11.png" width="469" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 05:13:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/bi-directional-shape-attribute-communication/m-p/28560#M405</guid>
      <dc:creator>AlanKlys</dc:creator>
      <dc:date>2019-08-05T05:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Bi-directional shape/attribute communication</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/bi-directional-shape-attribute-communication/m-p/28561#M406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is one of the greatest things I have gotten to see in a while in a CGA thread. Regional (contextual) information being made locally available and relevant to the smaller parts. Can you share the code for this somewhere? Just this sample?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The planning implications of this are immense. You could in theory create dynamic land use mix entropy indexes. What a time to be alive...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2019 01:13:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/bi-directional-shape-attribute-communication/m-p/28561#M406</guid>
      <dc:creator>DavidWasserman</dc:creator>
      <dc:date>2019-08-06T01:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bi-directional shape/attribute communication</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/bi-directional-shape-attribute-communication/m-p/28562#M407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Heya David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm so glad you like/ appreciate this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For a second there I thought that maybe I created something that's easily achieved in other ways in CE &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's a little clunky, but let me just clean it up and comment things and then it's all yours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With a small addition from Esri to occlusion queries (not sure if it's possible however) this could be way more efficient, neater and easier to manage.&amp;nbsp; For us it was to enable simple communication between podiums and towers, and to report on the building (with separate shapes and rule files) as a whole.&amp;nbsp; I'm sure you'll think of way more interesting things to do with this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2019 02:51:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/bi-directional-shape-attribute-communication/m-p/28562#M407</guid>
      <dc:creator>AlanKlys</dc:creator>
      <dc:date>2019-08-06T02:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Bi-directional shape/attribute communication</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/bi-directional-shape-attribute-communication/m-p/28563#M408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please share. I just want to take a look. I am curious if something could be done in a similar way with the minimum distance functions.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2019 16:36:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/bi-directional-shape-attribute-communication/m-p/28563#M408</guid>
      <dc:creator>DavidWasserman</dc:creator>
      <dc:date>2019-08-06T16:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Bi-directional shape/attribute communication</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/bi-directional-shape-attribute-communication/m-p/28564#M409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alan - I second David's comments: this is really neat! Were you able to share the code example, and would you share again...?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2020 03:14:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/bi-directional-shape-attribute-communication/m-p/28564#M409</guid>
      <dc:creator>timrobinson</dc:creator>
      <dc:date>2020-01-15T03:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Bi-directional shape/attribute communication</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/bi-directional-shape-attribute-communication/m-p/28565#M410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad you like it.&amp;nbsp; It's still very much a hack but a good and useful one &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an intense week or two coming up but I'll see if I can shoot you something across after that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 01:29:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/bi-directional-shape-attribute-communication/m-p/28565#M410</guid>
      <dc:creator>AlanKlys</dc:creator>
      <dc:date>2020-01-16T01:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Bi-directional shape/attribute communication</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/bi-directional-shape-attribute-communication/m-p/28566#M411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! And, no rush - appreciate the sharing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 02:17:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/bi-directional-shape-attribute-communication/m-p/28566#M411</guid>
      <dc:creator>timrobinson</dc:creator>
      <dc:date>2020-01-16T02:17:51Z</dc:date>
    </item>
  </channel>
</rss>

