Material Names Not Updating

material

#1

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)


#2

Check this thread:


#3

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.
SUC_Brick_001.skm
contains
image
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.
e.g.
name="SUC_Brick_001"
<dp:title>SUC_Brick_001</dp:title>

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…


#4

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


#5

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