In Rhino 8, when I use the new script component and execute for example a=rs.AddPoint([0,0,3]). In the output, a shows up as a GUID, the same exact code in the old python component returns the point. Is it a difference between Python 3 and 2?
How does this work?
Thanks!
Turn off ‘Avoid Marshalling Output Guids’
test.gh (6.7 KB)
Thanks! It seems to work for somethings but not others. See the attached file for the new script and old python component. The same issue happens.
Looks like they’re still tweaking things. For the time being, using coerceX should do the trick.
coerceX
box = rs.coercegeometry(rs.AddBox(pts))