Moving objects up the Z axis based on object name.
I have a bunch of "floor plans" I'm batch-importing into Max. They all come in flat on the ground plane as single meshes. They are named "Floor_1, Floor_2, Floor_3" etc...
My task is to spatially separate these floor meshes, relative to each other, in order of their names. So I need to put the same amount of distance between each floor to form a multi-storied building up the Z axis. (Ex: Floor 1 stays on the ground. Floor 2 is four meters above Floor 1. Floor 3 is four meters above Floor 2...) No need for instances/copies here, just need to translate the existing geometry to its new location. Attached is a conceptual example of a final result.
I've been doing this by hand, but it's getting quite tedious, especially for stacks of a couple hundred. I've searched for an existing script to do this, but haven't been successful.
Many thanks for any guidance here.
P.S. The ability to do the same thing with groups in addition to single objects would be really cool, but I'm setting sights on something simple for now.