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

Python3 in Rhino 8 execute function error

$
0
0

Hello,

I’ve managed to execute a .py through Grasshopper in Rhino 8. The idea is that eventually the “x” and “y” inputs are float values from a larger workflow.

When I run the file in a terminal within visual studio code to test, two values are returned consistently as shown:

However, when I run the same code in GH, the value seems to add the previous returned value each time it is executed (nothing else changed):


image
image
image

Any advice on why this may be happening? Thank you!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles