<?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 Alternative Styles in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/alternative-styles/m-p/696922#M9163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I've been playing around with creating alternative styles and I discovered a problem with it. I'm using one major file with multiple start rules that link to many other files created in the facade wizard etc. So when I want to create alternative styles for some of my start rules there seems to be an issue that you can only use the style function at the bottom of the whole rule file (therefore only for the last startrule). I was wondering if there was a function or something you could add below the style function to tell it that the alternative style features have finished and now you're onto a completely new start rule, or is this too much to ask for? Would be really great if this was a capability! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope that makes sense anyway!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Sep 2012 21:35:59 GMT</pubDate>
    <dc:creator>JoanneO_Brien</dc:creator>
    <dc:date>2012-09-03T21:35:59Z</dc:date>
    <item>
      <title>Alternative Styles</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/alternative-styles/m-p/696922#M9163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I've been playing around with creating alternative styles and I discovered a problem with it. I'm using one major file with multiple start rules that link to many other files created in the facade wizard etc. So when I want to create alternative styles for some of my start rules there seems to be an issue that you can only use the style function at the bottom of the whole rule file (therefore only for the last startrule). I was wondering if there was a function or something you could add below the style function to tell it that the alternative style features have finished and now you're onto a completely new start rule, or is this too much to ask for? Would be really great if this was a capability! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope that makes sense anyway!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2012 21:35:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/alternative-styles/m-p/696922#M9163</guid>
      <dc:creator>JoanneO_Brien</dc:creator>
      <dc:date>2012-09-03T21:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative Styles</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/alternative-styles/m-p/696923#M9164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not perfectly sure if I understand you correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you importing multiple CGA files with Facade Wizard rules, or are you also using the CGA functionality called 'styles'? [I am wondering how you would combine Facade Wizard rules with such styles]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you make a little scheme of how things are connected so I can imagine the overall rule structure better ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know .. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 09:11:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/alternative-styles/m-p/696923#M9164</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2012-09-04T09:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative Styles</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/alternative-styles/m-p/696924#M9165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay, so originally I had one rule file which I was using to link lots of different facade wizard files to make up my buildings...something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
attr height = 10
import building1 : "rules/building1.cga"
@StartRule
Lot--&amp;gt;comp(f){ top : roof | side : facade}
facade--&amp;gt;building1.facade
roof--&amp;gt;etc. 
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would have different startrules for each building and often use multiple facades imported for different sections, but was using the same roof rule etc hence the single rule file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now what I was looking to do with the styles function was to modify some of the rules so that it displayed a different facade on some of the walls as an alternative option.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I played around abit and re-wrote the code so that I just have one start rule but a long list of styles for the other buildings (mainly because the first few steps in the rules is always the same) so I guess that's one way around it but it does have the issue of now having quite a few alternative styles for my buildings. I am doing some fairly specific stuff though so it probably isn't something most people need to worry about.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:20:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/alternative-styles/m-p/696924#M9165</guid>
      <dc:creator>JoanneO_Brien</dc:creator>
      <dc:date>2021-12-12T05:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative Styles</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/alternative-styles/m-p/696925#M9166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the additional inputs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, styles work only at the bottom of the code, so there's only one 'style section' allowed per rule file. Thus, you'd have to split all your styles among multiple files which you have to import. That's a limitation, but it also keeps the stuff somewhat 'simple'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A lot of thought went into all this, but of course, it may change again in future. Sadly, not everything is possible ..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 13:33:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/alternative-styles/m-p/696925#M9166</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2012-09-06T13:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative Styles</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/alternative-styles/m-p/696926#M9167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes so I'm learning, would love everything to be possible but anyway, its a pretty fantastic program with what it is capable of! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 20:33:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/alternative-styles/m-p/696926#M9167</guid>
      <dc:creator>JoanneO_Brien</dc:creator>
      <dc:date>2012-09-06T20:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative Styles</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/alternative-styles/m-p/696927#M9168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hey !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for the kind words ! very appreciated !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 09:58:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/alternative-styles/m-p/696927#M9168</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2012-09-11T09:58:38Z</dc:date>
    </item>
  </channel>
</rss>

