The Code I am typing for the problem is:
There are several curves given.I have to select all the curves,then only one cross-sectional area,which is also given.Then all the curves will follow sweep command with that cross-sectional area.
Progress:
I have been only able to copy the cross-sectional area to the curves,but cannot apply addsweep1 to all the curves.I just now want to follow the sweep command for all the curves.I am attaching the figure before and after running the code.Can you apply the sweep1 command for all the curves in the code?
to get the startpoint of a polyline, I first convert the rhino object to a curve (coercecurve)
then to a nurbscurve (ToNurbsCurve)
because only the latter has the method (.PointAtStart) that I wanted to use