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

Rhino Python nested iteration to list, won't print

$
0
0

@Nathaniel_Price wrote:

import rhinoscriptsyntax as rs

lst = [0,10]
pts = []

for x in lst:
for y in lst:
pt = rs.AddPoint(x,y,0)
pts.append(pt)

print(pts)

anyone know why this prints instead of (0,0),(0,1),(1,0),(1,1)?
System.Guid object at 0x000000000000002F ....

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5793

Trending Articles