How could I create Massive of Static Meshes automatically?(with blueprint or c++)

have a look at this

Hello all! These Days,I faced a problem about creating static meshes. Now I have list of hard coded coordinate points,To create a massive of static mesh depend on these points: every four points makes a plane,and the plane I want to set it as a static mesh and save it. Is there any way to do it automatically? or is anybody have experience or advise? Anything will be appreciated !!!