Creates a surface or solid by extruding a straight along a path curve.
Rhino.ExtrudeSurface (strSurface, strCurve [, blnCap])
| strSurface | Required. String. The identifier of the surface object to extrude. | 
| strCurve | Required. String. The identifier of the path curve. | 
| blnCap | Optional. Boolean. Extrusion is capped at both ends to make a closed polysurface. The default value is True. | 
| String | The identifier of the new object if successful. | 
| Null | If not successful, or on error. | 
Dim strSurface, strCurve
strSurface = Rhino.AddSrfPt(Array(Array(0,0,0), Array(5,0,0), Array(5,5,0), Array(0,5,0)))
strCurve = Rhino.AddLine(Array(5,0,0), Array(10,0,10))
Rhino.ExtrudeSurface strSurface, strCurve