I need the opposite of ZPL numerical function GNUM(a$), where a$ is a glass name in a given catalog and GNUM(a$) returns the glass number in the catalog. I need the string name of the glass given the glass number in the catalog. $GLASS(i) gives the glass on surface “i” of a loaded system rather than in a catalog. Any tips?
Mike