level_load("terrain.hmp") works also - but of course, the "terrain.hmp" file must already exist. You can create it with MED. The functions won't create a terrain when the file is not found.
See the examples in the work folder, there are some with terrain.