Material Names Not Updating

I just changed the names of materials in a custom color collection I made.
(C:\Users\User-01\AppData\Roaming\SketchUp\SketchUp 2018\SketchUp\Materials\Custom-01)
But the color names in sketchup are not updating. How do I fix this?

SketchUp Pro 2018 (18.0.16975 64-bit)

Check this thread:

Renaming SKM files does NOT rename the material they contain.
This is set up within the SKM, which is actually a ZIP file… e.g.
The ‘ref’ folder contains any associated texture image file.
The ‘thumbnail’ is just that.
The two documentxml’ files contain references to the material’s name and any image file nested with it etc.

If you have one or two SKM files, then you could do it manually.

Alternatively, if you have a lot to process, you probably ought to rename all of the materials within your SketchUp model’s Materials Browser, and then save all of them into a new collection of SKM files.
The new SKM files will then properly reflect the materials’ names within their SKM file names…

1 Like

Ah ha! I didn’t change that part in "documentProperties.xml" … I’ll need to fix the code example.

I have a lot to change so I will just save new ones and remove the old ones. Thanks.