In the new script component, ghdoc
is set to None
:
I can access Grasshopper Document like this:
However, having direct access to
ghdoc
would help with backward compatibility, allowing us to use old code.
ghdoc.gh (10.3 KB)
When I use a = globals()
, Rhino crashes, but printing globals()
directly doesn’t cause any issues:
globals.gh (15.9 KB)
@eirannejad
John_Brock
(John Brock)
2
Assigned to Grasshopper category.
1 Like
eirannejad
(Ehsan Iran-Nejad)
4
Thanks for reporting this @Mahdiyar
RH-80140 ghdoc is not set for external scripts
RH-80142 Python 3 marshaller crashes on self referencing objects
Working on getting it fixed now
1 Like
brian
(Brian Gillespie)
5
1 Like