How to get/access Elevation base of a level and Set it according to user requirement

Hi all, I am much curious to know how to do that ?

I am trying to access elevation base of a level by using element.getparameterbyvalueandname node but it not giving me exact answer and if I want it to set as project base point or survey point it is not allowing me to do that.

Can anyone please tell me how to do that ? How to get elevation bases and how to set elevation base of a level using python or dynamo ?

Thanks in advance !!

Make sure you are getting the Level Type, and then set it with Either 1 (Survey Point) or 0 (Project Base Point)