cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

Documentation
About Archicad's documenting tools, views, model filtering, layouts, publishing, etc.
SOLVED!

Layer Name Simplification

Zdenko
Advocate

is there a way i can globally modify layer names? for example i find the A - Annotations..... layers way to long in characters and would like to shorten/abbreviate and would like to eliminate all of the "-" in between words.

 

Operating system used: Mac Intel-based Sonoma 14.4.1

Archicad 27 (3001 USA Full Intel Based MAC)
Sonoma 14.4.1
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Xandros
Expert

You could try exporting it via the Attribute Manager by Index and do a search and replace in editor / notepad ++ for example and reimport it by Index again.

ArchiCAD 26 GER / Win10
Intel i9-9900K / 64GB RAM / nVidia GeForce RTX 2080 Ti

View solution in original post

10 REPLIES 10
Barry Kelly
Moderator

Globally edit a list of layers - no.

You have to amend each layer name individually.

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Solution
Xandros
Expert

You could try exporting it via the Attribute Manager by Index and do a search and replace in editor / notepad ++ for example and reimport it by Index again.

ArchiCAD 26 GER / Win10
Intel i9-9900K / 64GB RAM / nVidia GeForce RTX 2080 Ti

Good thinking Xandros, that does work.

You just have to be very careful with the find & replace that you are only editing the layer name in the XML file.

The '-' for example is also used in the GUID numbers.

But if you are searching for ' - ' (space -  space), then it should be easier to find just in the layer name.

 

Barry.

 

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

I'd love to do so in Excel since it can handle xml-files and it would definitely be safer (not changing things that doesnt need to be changed) and there are more tools at hand to do systematic replace of text, but haven't figured out a way of saving it back to an xml that is still readable for ArchiCAD.

ArchiCAD 26 GER / Win10
Intel i9-9900K / 64GB RAM / nVidia GeForce RTX 2080 Ti

Archicad XML files use complex XML mapping tables, that can be read by excel , but it can't be exported back to XML

you need to use Notepad ++ or some advanced coding skills with python

AMD Ryzen 9 3900X, 32 GB RAM, RTX 3080 10 GB
Archicad 27
Windows 11 professional
https://www.behance.net/Nuance-Architects

thanks Xandros and Barry! I am very comfortable with Excel and XML, will give it a try here shortly on my TPL file.

Archicad 27 (3001 USA Full Intel Based MAC)
Sonoma 14.4.1

bouhmidage - should have read your message before trying! does not work in XML which s..ks... will try Notepad

Archicad 27 (3001 USA Full Intel Based MAC)
Sonoma 14.4.1

well i am SOL? Notepad++ is Windows based and requires too much brain damage to get it running on OS, if i come across anything will chime back in.

Archicad 27 (3001 USA Full Intel Based MAC)
Sonoma 14.4.1
Ahmed_K
Advisor

Try this,

Easy XML Editor - XML Software (edit-xml.com)

 

AMD Ryzen 9 3900X, 32 GB RAM, RTX 3080 10 GB
Archicad 27
Windows 11 professional
https://www.behance.net/Nuance-Architects

Setup info provided by author