<?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: Delete &amp;quot;Shape&amp;quot; (object) with CGA in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/delete-quot-shape-quot-object-with-cga/m-p/1296683#M11038</link>
    <description>&lt;P&gt;Sorry, there's no way to delete an imported shape (object) with cga.&amp;nbsp; &amp;nbsp;In addition to being able to delete them manually (as you point out), you can also delete them in a python script with &lt;FONT face="courier new,courier"&gt;ce.delete()&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The keyword &lt;FONT face="courier new,courier"&gt;NIL&lt;/FONT&gt; in cga is applied to a shape in the derivation shape tree, which is created when cga code is run.&amp;nbsp; This is a different meaning of "shape" than what you describe above.&amp;nbsp; The keyword &lt;FONT face="courier new,courier"&gt;NIL&lt;/FONT&gt; will delete the geometry of a shape in the derivation shape tree.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jun 2023 14:24:32 GMT</pubDate>
    <dc:creator>CherylLau</dc:creator>
    <dc:date>2023-06-07T14:24:32Z</dc:date>
    <item>
      <title>Delete "Shape" (object) with CGA</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/delete-quot-shape-quot-object-with-cga/m-p/1195627#M10595</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;is there no way to delete an imported "shape" with CGA? Within the scene it's extremely simple to single click on a building footprint (object within a shape file imported into the scene) so it's selected and hit the [delete] key on my keyboard. City Engine Help says: "&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;NIL&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt; operation deletes the current shape from the shape tree."&amp;nbsp;&lt;/SPAN&gt;But how can I actually use it in a cga file to delete a shape that the rule file is applied to?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 21:28:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/delete-quot-shape-quot-object-with-cga/m-p/1195627#M10595</guid>
      <dc:creator>PeterVieira</dc:creator>
      <dc:date>2022-07-25T21:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Delete "Shape" (object) with CGA</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/delete-quot-shape-quot-object-with-cga/m-p/1296683#M11038</link>
      <description>&lt;P&gt;Sorry, there's no way to delete an imported shape (object) with cga.&amp;nbsp; &amp;nbsp;In addition to being able to delete them manually (as you point out), you can also delete them in a python script with &lt;FONT face="courier new,courier"&gt;ce.delete()&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The keyword &lt;FONT face="courier new,courier"&gt;NIL&lt;/FONT&gt; in cga is applied to a shape in the derivation shape tree, which is created when cga code is run.&amp;nbsp; This is a different meaning of "shape" than what you describe above.&amp;nbsp; The keyword &lt;FONT face="courier new,courier"&gt;NIL&lt;/FONT&gt; will delete the geometry of a shape in the derivation shape tree.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 14:24:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/delete-quot-shape-quot-object-with-cga/m-p/1296683#M11038</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2023-06-07T14:24:32Z</dc:date>
    </item>
  </channel>
</rss>

