Exporting a scene for architectural study

Hello, I am currently developing a game where the player places blocks to form walls that enclose target objects that will earn points. For architectural analysis, the scene that is formed after the game will be studied.

How can I implement a system that when the game ends, and the end-game UI is displayed on screen, an “Export Scene” button is presented and that button will save/export the scene with all the blocks placed (nothing else is needed, just the blocks) to a specified directory by the player?

The exported/saved scene can be any file extension that can be opened up by the Unreal editor, as the architectural analysis will be done in the editor. Also, analysis will be done on a different computer than the system the game will be played in.