Hi! I’m new to Datasmith & Dataprep and wanted to use them for optimizing architectural models from SketchUp. I’m encountering an issue with my Dataprep recipe and I hope I’m just overlooking a simple detail somewhere.
I want to find each parent with a certain pattern in the name and combine everything under that parent into a single static mesh. For instance, I might have a building with doors and windows built of dozens of submeshes, and want the Dataprep output to turn these doors and windows into merged meshes. Based on the docs, I assumed the recipe for this would look like this:
Unfortunately, this doesn’t work as expected. Instead of “merge contents under each object with cm_* name” this recipe is interpreted as “merge every object found under all objects with cm_* into one mesh”. I can’t figure out how to achieve what I need. Maybe I’m missing something simple about defining loops vs. additions in the recipe UI? If it helps, here are some screenshots of the object hierarchy, to give an example of the individual objects I want to collapse into single meshes:
Most of the operations I want to do involve finding some parent and individually doing something to these parents (merging, offsets, outright replacement) so I’m kind of completely blocked until I figure out how to do this. ![]()
Would appreciate any help or links to an example where this is achieved!



