I’m converting ZPL macros to ZOS API using C#
I’ve having a hard time finding the corresponding API for the macro SPRO(surf, code) with Code = 18
From the macro documentation, code 18 will return the Glass Number (an integer?) for a Surface.
Does anyone know the corresponding ZOS API code?
I currently use OpticalSystem.LDE.GetGlass() to get the glass name. How about accessing the glass number?