<?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: Sub-shape objects in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/sub-shape-objects/m-p/373908#M5166</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;SPAN&gt;Some things are not (yet) possible to synch/drive in just one step of model generation in CGA.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you split a rectangle once through the shape, you always get 2 resulting shapes. If it's not a rectangle but a different concave form and you split it once, you may end up with multiple resulting shapes. that number ( the result ) can currently NOT be queried BEFORE the operation is actually performed. For this, CGA must be developed further a bit ( we're aware of this and considering to do so, of course).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the current best practice is to some things in CGA and some manually, repectively automatted via Python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Nov 2013 14:27:31 GMT</pubDate>
    <dc:creator>MatthiasBuehler1</dc:creator>
    <dc:date>2013-11-12T14:27:31Z</dc:date>
    <item>
      <title>Sub-shape objects</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/sub-shape-objects/m-p/373907#M5165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After spliting a shape with a rule file (using split command) i would like to trigger just a certain number of resulting elements, let say only 1 or 2. I tryied using the percent comand but i found it unreliable because if i split a shape into 10 objects and try to do something with 10% of those objects this would sometimes be 1, sometimes 3 and sometimes non of the objects. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Practical example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My initial shape is a plot which i subdivide into footprints. I would like just one of these footprints to be a highrise and the rest 5 storie buildings (see the attachment). Idialy i should also be able to sear the position of it but that is a different topic i guess.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 10:32:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/sub-shape-objects/m-p/373907#M5165</guid>
      <dc:creator>AleksandarLalovic</dc:creator>
      <dc:date>2013-11-12T10:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sub-shape objects</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/sub-shape-objects/m-p/373908#M5166</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;SPAN&gt;Some things are not (yet) possible to synch/drive in just one step of model generation in CGA.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you split a rectangle once through the shape, you always get 2 resulting shapes. If it's not a rectangle but a different concave form and you split it once, you may end up with multiple resulting shapes. that number ( the result ) can currently NOT be queried BEFORE the operation is actually performed. For this, CGA must be developed further a bit ( we're aware of this and considering to do so, of course).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the current best practice is to some things in CGA and some manually, repectively automatted via Python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 14:27:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/sub-shape-objects/m-p/373908#M5166</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2013-11-12T14:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sub-shape objects</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/sub-shape-objects/m-p/373909#M5167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Matt&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could i maybe select such splited shapes in python somehow. I ran into a comand some days ago but im not sure if it can do what i hope it can:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ce.getObjectsFrom(ce.scene, ce.withName("*Footprint*"))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So for example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;attr height = 20&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lot --&amp;gt; split(x){ ~5:Footprint}*&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Footprint--&amp;gt; extrude(attr height)Mass.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it theoreticaly possible to get "Footprint" array in python and then overwrite "height" attribute of just one of these objects in array?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 07:07:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/sub-shape-objects/m-p/373909#M5167</guid>
      <dc:creator>AleksandarLalovic</dc:creator>
      <dc:date>2013-11-13T07:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sub-shape objects</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/sub-shape-objects/m-p/373910#M5168</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;Yes, things like this are possible. I discussed such workflows with your collegue last year.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We can discuss the option when we meet next time, ok ? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 15:04:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/sub-shape-objects/m-p/373910#M5168</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2013-11-13T15:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sub-shape objects</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/sub-shape-objects/m-p/373911#M5169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, sound great. See you then.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 06:32:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/sub-shape-objects/m-p/373911#M5169</guid>
      <dc:creator>AleksandarLalovic</dc:creator>
      <dc:date>2013-11-14T06:32:32Z</dc:date>
    </item>
  </channel>
</rss>

