PCG - how to spawn meshes within bounding box?

I need help building af PCG system, that spawns two different statis meshes within a bounding box.
The meshes are basic cubes but I want them to stretch to and from the edges of the bounding box.
I want them to go on the X and Y axis, and they should be placed randomly within the box. Sort of a columns and beams look. They can intersect, and doesn’t need collision.
I am placing text in the middle of it, so I would also like to exclude the area where the text is. the text is a static 3d mesh.

Can anyone help with this? A video tutorial would be nice.

Thank you in advance.

If you use a box collision component, you can ‘box→getBounds’ or ‘box→getScaledBounds’. If you use a static mesh, you’ll have to calculate the dimensions of the mesh vs the dimensions of the bounds to get the desired result. Calculation will be easier if you initialize the box bounds and static mesh size to the same scale.