When an object has multiple groups or nests elements in multiple classes ,to explode the layers in the object, manually doing each layer takes a lot of time ,to explode these layers automatically and quickly use the Explode all tool .
Tutorial video:
Steps by steps:
- Click select object
- Click explode all tool
- The object was quickly exploded

Explode all in Sketchup