Change Block to show Layer Material

I am importing Sketchup Files and they bring in blocks. I would like to render but when I change the layer of the object AND change the properties to show material by layer it still remains unchanged.
What’s the most efficient way to fix this?

Block Test.3dm (1.8 MB)

Hello- you need to set all components to have material ‘by parent’ This is done, tedioulsly, in BlockEdit but I thik I have a script someplace that will do the lot at once.

Block Test_Parent.3dm (1.8 MB)


Hi Pascal,

Would you be able to give me a quick rundown on how to do the by parent edit with “BlockEdit”
I am just seeing Add Object, Remove Object and Set Base Point.

Hello- - highlight one of the objects in the list - component#6 01 say. Now Ctrl-A in the viewport to select everything and in Properties> Material page, set the material assignment to ‘Use Object’s Parent’

rinse and repeat.