Hi All,
I am attempting to use a sweep1 command to sweep a profile along a polyline. However I keep getting a "iteration over non-sequence of type Guid" error message. I have simplified the sweep command to the following and am still getting an error message:
import rhinoscriptsyntax as rs
Am I doing something wrong or is the sweep command not currently functioning as intended? When I use the sweep1 command through rhino selecting the same profile and polyline the sweep works fine. Any help would be greatly appreciated.Code:Pts=rs.GetObjects("Select Points",rs.filter.point) Sort=rs.SortPointList(Pts) PlyLn=rs.AddPolyline(Sort) Profile=rs.GetObject("Select Profile to Sweep") rs.AddSweep1(PlyLn,Profile)
Pete


Reply With Quote