<?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 How to change object name in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-change-object-name/m-p/1240500#M10789</link>
    <description>&lt;P&gt;I want to collectively change the names of "Shape" displayed in blue to "52SBB3789".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="morai_0-1670922168872.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58355iD1714AE89B7FCCCD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="morai_0-1670922168872.png" alt="morai_0-1670922168872.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Dec 2022 09:08:00 GMT</pubDate>
    <dc:creator>hoya</dc:creator>
    <dc:date>2022-12-13T09:08:00Z</dc:date>
    <item>
      <title>How to change object name</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-change-object-name/m-p/1240500#M10789</link>
      <description>&lt;P&gt;I want to collectively change the names of "Shape" displayed in blue to "52SBB3789".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="morai_0-1670922168872.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58355iD1714AE89B7FCCCD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="morai_0-1670922168872.png" alt="morai_0-1670922168872.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 09:08:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-change-object-name/m-p/1240500#M10789</guid>
      <dc:creator>hoya</dc:creator>
      <dc:date>2022-12-13T09:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to change object name</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-change-object-name/m-p/1240522#M10791</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/613921"&gt;@hoya&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your question. The simplest solution is to select the shapes you want to rename, then set the new name in the Inspector. The name change gets applied to all shapes in the selection.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-12-13 11_41_34-multiRename.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58361iA272F917AE301642/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2022-12-13 11_41_34-multiRename.png" alt="2022-12-13 11_41_34-multiRename.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 10:47:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-change-object-name/m-p/1240522#M10791</guid>
      <dc:creator>ThomasFuchs</dc:creator>
      <dc:date>2022-12-13T10:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to change object name</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-change-object-name/m-p/1241457#M10802</link>
      <description>&lt;P&gt;&lt;SPAN&gt;First of all thank you so much for your reply. However, I have many SHP files of this type in the folder, and after calling them sequentially, I am curious about how to change the name after accessing "inspector" with a script.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 06:02:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-change-object-name/m-p/1241457#M10802</guid>
      <dc:creator>hoya</dc:creator>
      <dc:date>2022-12-15T06:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to change object name</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-change-object-name/m-p/1241480#M10804</link>
      <description>&lt;P&gt;This is how to rename shapes with Python:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://doc.arcgis.com/en/cityengine/latest/python/python-scripting-interface-usage.htm#ESRI_SECTION1_1CAF3E74FBA9460BBC8EA67102D4BD6B" target="_blank"&gt;Python scripting interface usage—ArcGIS CityEngine Resources | Documentation&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;namePattern = "'Shape*'"
newName     = "newName"
    
shapes = ce.getObjectsFrom(ce.scene,ce.isShape,ce.withName(namePattern))
ce.setName(shapes, newName)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 09:57:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/how-to-change-object-name/m-p/1241480#M10804</guid>
      <dc:creator>ThomasFuchs</dc:creator>
      <dc:date>2022-12-15T09:57:29Z</dc:date>
    </item>
  </channel>
</rss>

