Script component 2 minor bugs

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

Assigned to Grasshopper category.

1 Like

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

RH-80140 is fixed in Rhino 8 Service Release 4
RH-80142 is fixed in Rhino 8 Service Release 4

1 Like