Fit bi-dimensional meshes inside square area

Hello, is it possible to automatically lay out many selected bi-dimensional meshes objects inside a square area in such a way they do not overlap each other, and maybe with the ability to “fit” them inside by scaling, at a certain distance?

Try ApplyMesh and ApplyMeshUVN commands.