This is really a question for the Library (GDL) forum.
GDL is documented in the PDF GDL Reference guide, as well as (surprisingly to many) the Basic Library and Library Developer Kit:
http://www.graphisoft.com/support/developer/downloads/index.html
Beyond those, study the code of all of the available zone stamps as examples.
Karl
One of the forum moderators
AC 28 USA and earlier • macOS Sonoma 14.7.1, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB