<?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: Replace Shape with Static Model in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/replace-shape-with-static-model/m-p/25483#M344</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;mikelau309,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To ensure that you import the static models at the right scale I have found that if you set the scale to 0 before you insert the object it will import at the scale at which the model is stored ( in my case 1 unit = 1 m). See below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tree --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; s(0,0,0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; i("models/simpletree.obj")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Simple_Tree&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Dec 2011 03:46:21 GMT</pubDate>
    <dc:creator>DanSmith3</dc:creator>
    <dc:date>2011-12-14T03:46:21Z</dc:date>
    <item>
      <title>Replace Shape with Static Model</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/replace-shape-with-static-model/m-p/25482#M343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Eventually I'd like to be able to render trees in CE based on a point shapefile that contains attributes such as tree species and trunk diameter.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a learning exercise I've imported a shapefile into CE that contains points that represent trees.&amp;nbsp; I have a 3D model of a tree that I exported from Sketchup as a Collada file.&amp;nbsp; I used this rule to simply replace a point (CE shape) with the tree model: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tree --&amp;gt; i( "models/simpletree.dae" )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However the scale of the tree changes when I import into CE and so I'm wondering if it is possible to retain the original scale of the 3D model when replacing a shape?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Esri CityEngine 2011.1 build 1021 (release, win32-64bit)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 19:57:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/replace-shape-with-static-model/m-p/25482#M343</guid>
      <dc:creator>michaellau1</dc:creator>
      <dc:date>2011-12-08T19:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Shape with Static Model</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/replace-shape-with-static-model/m-p/25483#M344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;mikelau309,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To ensure that you import the static models at the right scale I have found that if you set the scale to 0 before you insert the object it will import at the scale at which the model is stored ( in my case 1 unit = 1 m). See below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tree --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; s(0,0,0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; i("models/simpletree.obj")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Simple_Tree&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 03:46:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/replace-shape-with-static-model/m-p/25483#M344</guid>
      <dc:creator>DanSmith3</dc:creator>
      <dc:date>2011-12-14T03:46:21Z</dc:date>
    </item>
  </channel>
</rss>

