English version 
🧩 SketchUp Extensions – JB_SelectByMaterial & JB_IFCCleaner
JB_SelectByMaterial_v1.0
Function: Select all groups and components that contain one or more selected materials, even if deeply nested inside other components.
Features:
Starts from one or more selected faces,
Detects materials applied:
directly on faces,
or on parent components/groups (applied at instance level),
Selects all visible matching instances in the model,
Very handy to quickly apply tags, layers, or actions based on visual/material logic.
🧼 JB_IFCCleaner_v1.0
Function: Clean up a SketchUp file imported from IFC (typically overloaded and deeply nested).
Purpose:
Remove all IFC attributes at all nesting levels,
Flatten component hierarchies down to a usable depth,
Automatically purge unused components.
Available Options:
Set the depth level of flattening (e.g., 2),
Choose whether to preserve or remove IFC data on the top-level (master) component.
🧠 Why were these extensions created?
In my real-world workflow:
I had to import a very heavy IFC file, with thousands of components and excessive nesting (up to 4–5 levels deep). SketchUp became almost unusable.
So I developed two parallel strategies:
After exporting a simplified FBX version through Blender, I lost my tags/layers.
Thanks to JB_SelectByMaterial, I was able to recreate selections by material logic and reassign the correct tags (in a model with over 20,000 components).
🧹 For the original IFC version, JB_IFCCleaner helped me:
Strip out unneeded IFC attributes,
Flatten over-complicated component hierarchies,
And regain a usable, lag-free model in SketchUp.
About the development
I’m not a developer, just a SketchUp user facing real technical limitations.
With the help of ChatGPT and guidance from Rich O’Brien here on the SketchUcation forums,
I managed to create two lightweight extensions that solve my actual needs — and I’m happy to share them with anyone facing similar problems.
JB_IFCCleaner_v1.0.rbz
JB_SelectByMaterial_v1.0.rbz