Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4141

Message: iteration over non-sequence of type Guid

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 4141

Trending Articles