I want to collectively change the names of "Shape" displayed in blue to "52SBB3789".
This is how to rename shapes with Python: Python scripting interface usage—ArcGIS CityEngine Resources | Documentation
namePattern = "'Shape*'" newName = "newName" shapes = ce.getObjectsFrom(ce.scene,ce.isShape,ce.withName(namePattern)) ce.setName(shapes, newName)
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.
Hello @hoya
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.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.