Ghpythonlib.components as gh not working

Hello, I am trying to write a script in python and want to use grasshopper components inside. But unlike rhinosyntax library, my python editor is not loading or showing components for ghpython library even after being imported. I have reinstalled the latest ghpython but still no luck . ! Please guide me on how to get that working. Thank you.


Hi @parametriccuriosity

Which Rhino 6 version are you using?

Thanks,

Giulio

ā€“
Giulio Piacentino
for Robert McNeel & Associates
giulio@mcneel.com

yes Rhino 6

Iā€™d need you to go to Help -> System Information and copy the content here.

Thanks,

Giulio

ā€“
Giulio Piacentino
for Robert McNeel & Associates
giulio@mcneel.com

Thank you I reinstalled gh python from food4rhino and it worked.

it was showing this message before at the moment when I called gh library by putting a dot in front of gh

Hi @parametriccuriosity

That looks like a Firefly warning. Probably some problem in Firefly is preventing the loading of the assembly. Try uninstalling the Firefly files.

Also, GhPython for Food4Rhino might not work in Rhino 6.

Thanks,

Giulio

ā€“
Giulio Piacentino
for Robert McNeel & Associates
giulio@mcneel.com

1 Like