<?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: Adding color to building faces? in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/adding-color-to-building-faces/m-p/492047#M6673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also use the face index, like ... {0: Red | 1: Green | ... I had a face labeling script somewhere but can't find it&amp;nbsp;atm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2018 08:48:33 GMT</pubDate>
    <dc:creator>LR</dc:creator>
    <dc:date>2018-08-23T08:48:33Z</dc:date>
    <item>
      <title>Adding color to building faces?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/adding-color-to-building-faces/m-p/492043#M6669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp; I would like to know if it is possible to simply add colors to faces of buildings using RGB values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been using Sketchup to add colors to faces of buildings, but it takes time to convert to a new file format for use in CityEngine. There has to be an easy way of doing this in CityEngine, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 15:06:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/adding-color-to-building-faces/m-p/492043#M6669</guid>
      <dc:creator>DanielChantlos1</dc:creator>
      <dc:date>2018-08-22T15:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Adding color to building faces?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/adding-color-to-building-faces/m-p/492044#M6670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll have to do it with CGA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;color(R,G,B)&lt;/STRONG&gt; (range 0-1)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;color("#RRGGBB")&lt;/STRONG&gt; (00-FF)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also make an attribute, which lets you pick a color in the inspector:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define after the CGA version:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;@Color&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;attr myColor="#FF0000"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then.. &lt;STRONG&gt;color(myColor)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 18:46:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/adding-color-to-building-faces/m-p/492044#M6670</guid>
      <dc:creator>LR</dc:creator>
      <dc:date>2018-08-22T18:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adding color to building faces?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/adding-color-to-building-faces/m-p/492045#M6671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am very new to CityEngine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I had a simple 6 face prism, what would the steps be to apply different colors to each face?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 20:16:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/adding-color-to-building-faces/m-p/492045#M6671</guid>
      <dc:creator>DanielChantlos1</dc:creator>
      <dc:date>2018-08-22T20:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Adding color to building faces?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/adding-color-to-building-faces/m-p/492046#M6672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use comp(f) to separate the prism into its component faces and then set each face to a different colour&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;Prism&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;
comp&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;f&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;top&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;Red &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; bottom&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;Green &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; front&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;Blue &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; back&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;Yellow &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; left&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;Magenta &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; right&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;Cyan&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;

Red&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;color&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
Green&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;color&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
etc&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&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>Sat, 11 Dec 2021 21:39:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/adding-color-to-building-faces/m-p/492046#M6672</guid>
      <dc:creator>BenLeslie1</dc:creator>
      <dc:date>2021-12-11T21:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Adding color to building faces?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/adding-color-to-building-faces/m-p/492047#M6673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also use the face index, like ... {0: Red | 1: Green | ... I had a face labeling script somewhere but can't find it&amp;nbsp;atm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 08:48:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/adding-color-to-building-faces/m-p/492047#M6673</guid>
      <dc:creator>LR</dc:creator>
      <dc:date>2018-08-23T08:48:33Z</dc:date>
    </item>
  </channel>
</rss>

