Block objects

Hello everyone
I want to turn several objects to a block (like the below image). Is there a plugin like assign material to layers?

Hi Adel -

I’m not sure what I’m looking at in the image, but how is block not solving that for you?
-wim