How to create landscape with editor scripting?

Is it possible to create a new landscape with editor-scripting? I cant find blueprint nodes for that.
If its not possible in blueprints , would it be hard to do in c++?