<?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: Assign different rules to each façade element, created with polygon shape creatio in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/assign-different-rules-to-each-fa-amp-amp-ccedil/m-p/265229#M3493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;that's easy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use comp(f), and then comp.index to assign rules.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Building --&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; comp(f) { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0: FacadeRule &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 1 : RoofRule &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .. &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that the face indices may be scrabled up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note also that to create facades correctly, you may need to align the scope.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g. with&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;alignScopeToGeometry(zUp, any, world.lowest)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 May 2014 11:36:26 GMT</pubDate>
    <dc:creator>MatthiasBuehler1</dc:creator>
    <dc:date>2014-05-14T11:36:26Z</dc:date>
    <item>
      <title>Assign different rules to each fa&amp;amp;ccedil;ade element, created with polygon shape creation</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/assign-different-rules-to-each-fa-amp-amp-ccedil/m-p/265227#M3491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, so I saw something similar to my issue in this thread &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/51670-Comp-select-for-different-areas-on-same-face?highlight=comp+select" rel="nofollow" target="_blank"&gt;http://forums.arcgis.com/threads/51670-Comp-select-for-different-areas-on-same-face?highlight=comp+select&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My big issue is, that I need to be able to assign different rules on each splited face, and since I thought it would be easier, I created the building with the polygon shape creation, and it is facing southwest. So I would not need any extrusion on my building. How do I separate each face, so I able to assign a rulefile to each one?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]33759[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 17:47:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/assign-different-rules-to-each-fa-amp-amp-ccedil/m-p/265227#M3491</guid>
      <dc:creator>KennethLindhardt</dc:creator>
      <dc:date>2014-05-12T17:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Assign different rules to each façade element, created with polygon shape creatio</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/assign-different-rules-to-each-fa-amp-amp-ccedil/m-p/265228#M3492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I should mention that the small long peace of building in the front is a brick wall, the one just next to it is a glass facade, so a color on all south west facades would not work for me, since I got 3 different facades facing the same direction!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 17:51:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/assign-different-rules-to-each-fa-amp-amp-ccedil/m-p/265228#M3492</guid>
      <dc:creator>KennethLindhardt</dc:creator>
      <dc:date>2014-05-12T17:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Assign different rules to each façade element, created with polygon shape creatio</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/assign-different-rules-to-each-fa-amp-amp-ccedil/m-p/265229#M3493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;that's easy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use comp(f), and then comp.index to assign rules.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Building --&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; comp(f) { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0: FacadeRule &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 1 : RoofRule &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .. &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that the face indices may be scrabled up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note also that to create facades correctly, you may need to align the scope.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g. with&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;alignScopeToGeometry(zUp, any, world.lowest)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 11:36:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/assign-different-rules-to-each-fa-amp-amp-ccedil/m-p/265229#M3493</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2014-05-14T11:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Assign different rules to each façade element, created with polygon shape creatio</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/assign-different-rules-to-each-fa-amp-amp-ccedil/m-p/265230#M3494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I�??m sure it�??s, but I think I miss some basic understanding in the comp function &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The comp(f) : will get each face into a new shape.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use the comp.index, then I able to actually separate the faces from each other with some kind of id-? I can then use a case function like case comp.index ==&amp;nbsp; 10 : color (�??#FFFFFF�?�), or should I replace the comp.index with �??id�?� &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I click a face in my model I can see a Face (index 10) is that the number that describes the face id? At this point I tried with a lot of colors and a lot of id, and the only thing I get color on is the roof&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 13:03:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/assign-different-rules-to-each-fa-amp-amp-ccedil/m-p/265230#M3494</guid>
      <dc:creator>KennethLindhardt</dc:creator>
      <dc:date>2014-05-14T13:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Assign different rules to each façade element, created with polygon shape creatio</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/assign-different-rules-to-each-fa-amp-amp-ccedil/m-p/265231#M3495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sh** yeah I figured it out, wasn't that difficult, so the case needs to be myIndex !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 13:22:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/assign-different-rules-to-each-fa-amp-amp-ccedil/m-p/265231#M3495</guid>
      <dc:creator>KennethLindhardt</dc:creator>
      <dc:date>2014-05-14T13:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Assign different rules to each façade element, created with polygon shape creatio</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/assign-different-rules-to-each-fa-amp-amp-ccedil/m-p/265232#M3496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;here I say it for you : shit ! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;glad it works now ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;m.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 14:47:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/assign-different-rules-to-each-fa-amp-amp-ccedil/m-p/265232#M3496</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2014-05-15T14:47:22Z</dc:date>
    </item>
  </channel>
</rss>

