This might help but you will need to delve into the depths of GDL.
Have a look at this thread and follow the link in the 3rd post.
http://archicad-talk.graphisoft.com/viewtopic.php?t=35262
Barry.
One of the forum moderators.
Versions 6.5 to 26
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11