<?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: Inserting trees in scenes without tree points in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/inserting-trees-in-scenes-without-tree-points/m-p/557944#M7540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Rule1.Plantation&lt;/SPAN&gt; doesn't exist because &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;ScatterRule01.cga&lt;/SPAN&gt; does not have a rule called &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Plantation&lt;/SPAN&gt;.&amp;nbsp; If you hover the mouse over the compile error on this line, you will probably see that the compiler can't find a rule with this name.&amp;nbsp; You want to use &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Rule1.Lot&lt;/SPAN&gt; instead because &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Lot&lt;/SPAN&gt; is the name of the rule in &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;ScatterRule01.cga&lt;/SPAN&gt; that does the scattering.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Sep 2019 08:30:55 GMT</pubDate>
    <dc:creator>CherylLau</dc:creator>
    <dc:date>2019-09-02T08:30:55Z</dc:date>
    <item>
      <title>Inserting trees in scenes without tree points</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/inserting-trees-in-scenes-without-tree-points/m-p/557938#M7534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I am new to CityEngine, but more importantly new to any form of coding. I would like to be able to include multiple trees in a large scene in a random but controllable way, in the absence of imported tree points. A start would be able to edit the Plant_Distributor rule to be able to choose schematic trees as in the Plant_Loader rule. I thought I might be able to figure out how to do this myself but I can't! Please can anyone help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2019 12:43:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/inserting-trees-in-scenes-without-tree-points/m-p/557938#M7534</guid>
      <dc:creator>AndrewWilliamson</dc:creator>
      <dc:date>2019-08-27T12:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting trees in scenes without tree points</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/inserting-trees-in-scenes-without-tree-points/m-p/557939#M7535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Plant_Distributor&lt;/SPAN&gt; uses the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Plant_Loader&lt;/SPAN&gt;, so you can access the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Plant_Loader&lt;/SPAN&gt;'s attributes as well.&amp;nbsp; In the Inspector, click to expand the imported rule, and set &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Representation = Schematic&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/458140_plant_distributor_expand_import.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 10:06:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/inserting-trees-in-scenes-without-tree-points/m-p/557939#M7535</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2019-08-28T10:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting trees in scenes without tree points</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/inserting-trees-in-scenes-without-tree-points/m-p/557940#M7536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don´t need to import tree points to create trees. You can apply rules to polygons. Just drag the rule to the polygon.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here a printscreen of my area using greenSpace CG&amp;nbsp; rule and the result. Or here&amp;nbsp;&lt;A class="link-titled" href="http://bit.ly/30FdkOD" title="http://bit.ly/30FdkOD"&gt;http://bit.ly/30FdkOD&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/458086_CityEngine_uxQ0EFn7jV.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/458144_chrome_llOU6fdZh2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 10:07:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/inserting-trees-in-scenes-without-tree-points/m-p/557940#M7536</guid>
      <dc:creator>Luiz_AmadeuCoutinho</dc:creator>
      <dc:date>2019-08-28T10:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting trees in scenes without tree points</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/inserting-trees-in-scenes-without-tree-points/m-p/557941#M7537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you - most helpful.&amp;nbsp; I'm afraid I have another question! If I assign the &lt;EM&gt;Plant_Distributor&lt;/EM&gt; rule to a shape, whether static or dynamic, the only parameter in the inspector which seems to change anything is Density: Max Height does nothing.&amp;nbsp; What do I do to change the overall scale of the trees?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again.&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/458240_plantLoaderCapture.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 11:51:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/inserting-trees-in-scenes-without-tree-points/m-p/557941#M7537</guid>
      <dc:creator>AndrewWilliamson</dc:creator>
      <dc:date>2019-08-29T11:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting trees in scenes without tree points</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/inserting-trees-in-scenes-without-tree-points/m-p/557942#M7538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Grayed out attributes in the Inspector means the attributes are not being used during generation.&amp;nbsp; To use &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;MaxHeight&lt;/SPAN&gt; along with the other attributes under the group &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Custom Mix&lt;/SPAN&gt;, set &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Mix = Custom&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Plant_Distributor&lt;/SPAN&gt; picks species of plants and inserts them with a random height&amp;nbsp;within the&amp;nbsp;typical height range of the species.&amp;nbsp; With this rule, you can't scale the height of the models using the attributes in the Inspector.&amp;nbsp; The &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;MinHeight&lt;/SPAN&gt; and &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;MaxHeight&lt;/SPAN&gt; attributes set up a range of valid heights to filter which species are allowed to be inserted.&amp;nbsp; So, if you set &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;MinHeight&lt;/SPAN&gt; to 10m, then you won't get small&amp;nbsp;bushes that are at most 4m tall.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to scale the models, then I would suggest writing a simple rule that scatters points using &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;scatter()&lt;/SPAN&gt;, inserts random models from the Vegetation library using &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;i()&lt;/SPAN&gt;, and scales them according to an attribute.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 14:32:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/inserting-trees-in-scenes-without-tree-points/m-p/557942#M7538</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2019-08-29T14:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting trees in scenes without tree points</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/inserting-trees-in-scenes-without-tree-points/m-p/557943#M7539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cheryl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your replies and apologies for my ongoing stupidity, but I have started trying to develop a rule based on point scattering: It works fine if I assign it to a shape with no other rules in operation, but when I import it into another rule and try to apply it to a portion of the lot, nothing happens....if you can make out the screen grabs, please could you explain why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/458262_Capture01.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 19:07:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/inserting-trees-in-scenes-without-tree-points/m-p/557943#M7539</guid>
      <dc:creator>AndrewWilliamson</dc:creator>
      <dc:date>2019-08-29T19:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting trees in scenes without tree points</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/inserting-trees-in-scenes-without-tree-points/m-p/557944#M7540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Rule1.Plantation&lt;/SPAN&gt; doesn't exist because &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;ScatterRule01.cga&lt;/SPAN&gt; does not have a rule called &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Plantation&lt;/SPAN&gt;.&amp;nbsp; If you hover the mouse over the compile error on this line, you will probably see that the compiler can't find a rule with this name.&amp;nbsp; You want to use &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Rule1.Lot&lt;/SPAN&gt; instead because &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Lot&lt;/SPAN&gt; is the name of the rule in &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;ScatterRule01.cga&lt;/SPAN&gt; that does the scattering.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2019 08:30:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/inserting-trees-in-scenes-without-tree-points/m-p/557944#M7540</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2019-09-02T08:30:55Z</dc:date>
    </item>
  </channel>
</rss>

