How do I remove unused materials from Properties/Materials Window?

Please see attached picture.

I’d love for this list to just show the materials currently in use. I tried the “purge” command based on some other threads, but that didn’t work. Any ideas?

Hello - Purge should get rid of unassigned materials if that option is set in the Purge command line options. But,as well, in the Materials panel, you can filter the view to show only materials that are in use:



Thanks Pascal, I see that option under the Materials Tab. However, I don’t see any similar option in the Properties/Materials sub-tab which is the one that I use to assign materials to things.

Maybe I shouldn’t be using Properties/Materials to assign materials?

Hello - I think setting that in the Materials tab also affects the list in Properties… I’ll check.


A quick wish: Make it possible to select all layers with Ctrl+A when at least one layer is selected. Currently, doing so will select all object in the scene, which is misleading since the active window is the one where the Layers tab is located. The idea behind that is to avoid unwanted deletion of objects.

I like that selecting a layer, then holding down the Shift key and selecting another layer will result in selecting all layers in-between, just like it’s implemented in Windows Explorer. However, as I mentioned above, the Ctrl+A key combination is not implemented in the Layers window. Other not-yet-implemented key combination that could be helpful is Ctrl+I (invert selection of the layers). Currently, this opens the “Insert” window.

Another misleading behaviour in the Layers window is the way Rhino handles the selection of layers when both the Ctrl and Shift keys are held. For example, if you Hold Ctrl and select layers 1, 2, 3, 7 and 12, then hold Shift (while still holding Ctrl) and click on layer 15, Rhino will also add layers 13 and 14 to the selection. This is good. However, if you release Ctrl after clicking on layer 12 and hold Shift before you click on layer 15, Rhino will actually deselect every layer before 12, so that only layers 12, 13, 14 and 15 will remain selected.
Another example is, when you hold Ctrl and select layers 1, 6 and 13, then hold Shift (while still holding Ctrl) and select layer 4, Rhino will not add to the selection layers 2, 3, 4, and 5 (since they are between the previously selected layers 1 and 6). Instead, Rhino will deselect all layers above 4 and will select all layers between 4 and 13. Since Shift is used to add to selection between previously selected layers, is not it more natural that Rhino will add layers 2, 3, 4 and 5?

Also, if all layers with automatic names (Layer 1, Layer 5 etc) are being deleted and then the “New Layer” icon is pressed, Rhino will create new layers whose names are consecutive (if 5 layers were deleted, the new layer will be named Layer 6 instead of Layer 1). Is there a way to tell Rhino to create new layers with numbers starting from 1 again?

Thank you Pascal, this worked!

I haven’t really used the Materials Tab before, but it seems to “manage” how things work under Properties Tab/Materials… very cool.