Best way to add mesh on the map with a command

Got info from here: Call Blueprint Event from Console - #5 by Irascible

In your Level Blueprint:


In the in-game console, type ce AddStaticMesh [path] [x] [y] [x] [roll] [pitch] [yaw].

Example:
ce AddStaticMesh /Game/StarterContent/Props/SM_TableRound 0 370 325 0 0 0
add static mesh


If you don’t want to do it this way, you can try this tutorial: Unreal Engine - Create console commands in blueprints // Sahil Dhanju's Blog. It requires c++, but allows you to create console commands from blueprints.