Load external python script in grasshopper

I’m creating a grasshopper script that uses a python component as the heart of the operation.
I’d like to use an external code-editor to be able to get better response to my code input. Also this would make it possible to use git while developing grasshopper python.

I tried linking the .py-file content as an input for an empty python block in grasshopper. The code is loaded (the title of the block changed according to the code) But the output does not behave like the python block that has the same code internal.

How can I use the code in a correct way, or Is there another easy ways to use my external script in grasshopper?

Hi Joost,

Check this very nice Eclipse to ghpython connection tutorial.

1 Like