I`ve tried to use your solution , but get an errors in the script, dynamo 1.3.3, revit19
Screenshot is below
Any thought what is wrong out here?
PolyCurve.ByJoinedCurves error is: Warning: PolyCurve.ByJoinedCurves operation failed.
PolyCurves may not be branching
Surface.ByPatch error is: Warning: Surface.ByPatch operation failed.
Unable to patch a single, no-closed curve
Thanks in advance