Set global waterlevel with Python

Hi, 

I have created a water level in "flow conditions" with the following Python command:

g_i.gotoflow()
g_i.waterlevel((-1,-6),(9,-6),(9,0),(19,0))

This worked out fine. Now I can't find the right command to make this waterlevel global. I did this in GUI in Plaxis and this command appeared in the command line: 

_setglobalwaterlevel UserWaterLevel_1 InitialPhase 

I have tried many different Python commands, but can't find the the command with the right syntax in Python. Can you please help me solving this? 

Do you have any advice in general when solving this kind of problem? 

When writing Python commands to Plaxis I usually use the command line (+echo and info), the scripting examples on Plaxis Soilvision and this forum to write commands in Python. Can you recommend any other tool when writing Python commands in Plaxis? 

best regards, 

Dina Hansen