Thanks for the quick reply TIG
I have tried your adjustment and then i get this error code:
TIG.faces2materiallayers
Error: #<NameError: undefined local variable or method mat' for TIG:Module> C:/Users/richard/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/TIG-faces2materiallayers.rb:11:in
block in faces2materiallayers'
C:/Users/richard/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/TIG-faces2materiallayers.rb:8:in each' C:/Users/richard/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/TIG-faces2materiallayers.rb:8:in
faces2materiallayers'
<main>:in <main>' SketchUp:1:in
eval'
do you have any suggestions?
kind regards
Richard