Convert Polymesh/mesh to surface? how?

I am trying to create a mesh/polymesh into a surface in Civil using the code above. However, I can’t get it to work. Can anyone help me with this?


Please take a look at this example from the Dynamo dictionary →
Dynamo Dictionary

I cant make it, it wouldn’t work.

do you have som suggestion, to how i can make polymesh/face to surfaces?