Dynamo script that can create multiple surfaces from polylines in different layers and also change Z values of those polylines

@oliverkisera , I recommend that you search the forum. This thread seems relevant to what you want to do: