<?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 Relationship between layers in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/relationship-between-layers/m-p/420734#M5784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I create rules to define the property of layer A according to a property in layer B?&amp;nbsp;For example,&amp;nbsp;layer A's&amp;nbsp;color might be dependent on how far away it is from a certain building&amp;nbsp;in layer B or the total GFA in layer B. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 May 2017 10:56:05 GMT</pubDate>
    <dc:creator>EricLi</dc:creator>
    <dc:date>2017-05-11T10:56:05Z</dc:date>
    <item>
      <title>Relationship between layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/relationship-between-layers/m-p/420734#M5784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I create rules to define the property of layer A according to a property in layer B?&amp;nbsp;For example,&amp;nbsp;layer A's&amp;nbsp;color might be dependent on how far away it is from a certain building&amp;nbsp;in layer B or the total GFA in layer B. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 10:56:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/relationship-between-layers/m-p/420734#M5784</guid>
      <dc:creator>EricLi</dc:creator>
      <dc:date>2017-05-11T10:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship between layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/relationship-between-layers/m-p/420735#M5785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, generally, it's not possible to link information between layers using rules (when there are rules in both layers).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In specific cases, it is possible to pass information between layers. &amp;nbsp;For example, if you have information that is not generated by rules, then you can connect rule attributes to other attributes from other layers (Inspector -&amp;gt; click on drop down next to attribute -&amp;gt; Connect Attribute). &amp;nbsp;If you have an image/map that shows distances to public transportation stops, for example, then you can connect a rule attribute to this map and get the distance to public transport. &amp;nbsp;This is similar to what is done with building heights in Tutorial 3, section Control the Skyline.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/cityengine/latest/tutorials/tutorial-3-map-control.htm" title="http://desktop.arcgis.com/en/cityengine/latest/tutorials/tutorial-3-map-control.htm"&gt;Tutorial 3: Map control—CityEngine Tutorials | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a rule that calculates the total GFA in layer B, then a two-pass approach would be needed to get that information into the rules applied to shapes in layer A. &amp;nbsp;I don't think there's a nice solution to this problem yet. &amp;nbsp;I think maybe others might use&amp;nbsp;Python to help with the two pass generation (?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are working on methods that might help with calculating distances to other shapes, so hopefully this will be possible&amp;nbsp;in the future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2017 14:48:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/relationship-between-layers/m-p/420735#M5785</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2017-05-15T14:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship between layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/relationship-between-layers/m-p/420736#M5786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no workflow to crate analysis layers like in ArcGIS Pro.&lt;/P&gt;&lt;P&gt;&lt;A class="" href="https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/basics/find-geoprocessing-tools.htm" title="https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/basics/find-geoprocessing-tools.htm"&gt;Find a geoprocessing tool—ArcGIS Pro | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned by &lt;A href="https://community.esri.com/migrated-users/172220"&gt;Cheryl Lau&lt;/A&gt; , in CityEngine you can define shape attributes based on layer attributes / content.&lt;/P&gt;&lt;P&gt;Generally layers are used for visualization and as input data for the model generation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2017 15:25:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/relationship-between-layers/m-p/420736#M5786</guid>
      <dc:creator>ThomasFuchs</dc:creator>
      <dc:date>2017-05-15T15:25:47Z</dc:date>
    </item>
  </channel>
</rss>

