Iteration over sequence of type poly curve

hello! my goel is to make from my 2d curves geometry a 3d shapes. for that i planes to do something like extrude and patch, because thats what i know :slight_smile:
i wanted to write the most basic python code, but for some reason i cant do it! and i cant find why. here is all the details:

N.B. I know it’s easier to find solutions in Grasshopper but it’s very important to me as part of the task I was given to do a part in Python. and as you can see
gh cleanup.GH (20.7 KB)
BK3OV3 DIAGRAM_25.10_a.3dm (10.2 MB)
I am very new to both.

import rhinoscriptsyntax as rs

for crv in crvs:
    rs.AddPatch(crv, None, True, 0.1, 1, 1, False)
    rs.ExtrudeCurve(crv, 300)

This looks familiar:

Cannot delete an object created by ghpythonlib - Scripting - McNeel Forum