I am facing this iteration problem,i dont know why.Can you guys help me,please?I am giving the code below
import rhinoscriptsyntax as rs
def ExtrudeAlongultipleCurves():
shapeld = rs.GetObject(“Select curve to extrude”, filter = 4,
preselect = True)
if not shapeld:return
pathlds = rs.GetObject("Select the path curves", filter = 4)
if not pathlds:return
rs.EnableRedraw(False)
for path in pathlds:
rs.UnselectAllObjects()
rs.SelectObject(shapeld)
rs.Command('_ExtrudeCrvAlongCrv _selld' + str(path) + '')
rs.EnableRedraw(True)
ExtrudeAlongultipleCurves()
6 posts - 3 participants