<?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: Using an attribute in place of the percentage for a stochastic rule in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/using-an-attribute-in-place-of-the-percentage-for/m-p/550531#M7431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;sure possible !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;case p(0.25) :
&amp;nbsp;&amp;nbsp;&amp;nbsp; DoThis.
else :
&amp;nbsp;&amp;nbsp;&amp;nbsp; DoThat.&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 23:48:56 GMT</pubDate>
    <dc:creator>MatthiasBuehler1</dc:creator>
    <dc:date>2021-12-11T23:48:56Z</dc:date>
    <item>
      <title>Using an attribute in place of the percentage for a stochastic rule</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/using-an-attribute-in-place-of-the-percentage-for/m-p/550530#M7430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was wondering whether there was a way of allowing the use of an named attribute, say "parking_occupancy" in the stochastic rule.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;20% : placecar&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;else: NIL&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I could use (I know this doesn't work, but you get the idea)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;attr parking_occupancy = 25&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;parking_occupancy% : placecar&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;else : NIL&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This would mean I could adjust the variable in the inspector and not the rule file... am I missing something obvious? Is there a workaround?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 09:16:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/using-an-attribute-in-place-of-the-percentage-for/m-p/550530#M7430</guid>
      <dc:creator>ElliotHartley</dc:creator>
      <dc:date>2012-09-27T09:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using an attribute in place of the percentage for a stochastic rule</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/using-an-attribute-in-place-of-the-percentage-for/m-p/550531#M7431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;sure possible !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;case p(0.25) :
&amp;nbsp;&amp;nbsp;&amp;nbsp; DoThis.
else :
&amp;nbsp;&amp;nbsp;&amp;nbsp; DoThat.&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:48:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/using-an-attribute-in-place-of-the-percentage-for/m-p/550531#M7431</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2021-12-11T23:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using an attribute in place of the percentage for a stochastic rule</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/using-an-attribute-in-place-of-the-percentage-for/m-p/550532#M7432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Matthias, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's all so obvious now... It's a wonder I tie my shoe laces in the morning sometimes.... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Elliot&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;sure possible !&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;case p(0.25) :
&amp;nbsp;&amp;nbsp;&amp;nbsp; DoThis.
else :
&amp;nbsp;&amp;nbsp;&amp;nbsp; DoThat.&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:48:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/using-an-attribute-in-place-of-the-percentage-for/m-p/550532#M7432</guid>
      <dc:creator>ElliotHartley</dc:creator>
      <dc:date>2021-12-11T23:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using an attribute in place of the percentage for a stochastic rule</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/using-an-attribute-in-place-of-the-percentage-for/m-p/550533#M7433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Haha... If you weren't able to, you'd still have some time left to learn until you have to teach it to your youngest .. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ both CityEngine and shoe laces .. ]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 12:40:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/using-an-attribute-in-place-of-the-percentage-for/m-p/550533#M7433</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2012-10-05T12:40:54Z</dc:date>
    </item>
  </channel>
</rss>

