Is this version 19 by any chance?
If so then GLOB_CONTEXT can no longer be relied upon.
It should still work with the latest hotfix for 19 with just a warning error message when scripting the object.
But maybe it isn't work properly in 19 now.
It definitely will not work with version 20 next year.
GLOB_CONTEXT has gone and has been replaced with other commands (that aren't as good in my opinion) - which you can get information on here ...
http://gdl.graphisoft.com/gdl-docs/changes-in-ac19/
NOTE these new commands can not be used in the parameter or master scripts.
They will only work in the 2D and 3D scripts as far as I know.
I have yet to sit down and try to work this out myself yet.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11