Hi all,
I’m getting the following error message with rs.GetObjectEx() in IronPython in Rhino 8 SR 14:
File “C:\Users\axelj.rhinocode\py27-rh8\site-rhinopython\rhinoscript\selection.py”, line 333, in GetObjectEx
File “C:\Users\axelj.rhinocode\py27-rh8\site-rhinopython\rhinoscript\selection.py”, line 276, in init
NameError: global name ‘_CustomGetObjectEx__CustomGetObjectEx’ is not defined
IronPython.Runtime.UnboundNameException: global name ‘_CustomGetObjectEx__CustomGetObjectEx’ is not defined
…
Hi Gijs,
I restarted Rhino and did some more digging.
The error only shows up when I pass a list of guids through the objecs= option of rs.GetObjectEx(). It’s a Python list (not IEnumerable or some other .net list). This used to work in R7.