xzos / PyZDDE

Zemax/ OpticStudio Extension using Python
MIT License
159 stars 67 forks source link

Is the NOBJ(surface) command supported? #96

Closed echatziz closed 4 years ago

echatziz commented 4 years ago

Hi,

I want to use NOBJ(sur) since I need the number of defined objects in the non-sequential mode. Cannot find the right pyZDDE command. Is it supported? I only found NSUR, the zGetNumSurf(), but doesn't do what I need.

By the way, is there documentation somewhere? Going through the source code, trying to find a command is kind of frustrating. And by documentation, I mean a list with all the python functions - ZPL commands equivalents that are currently supported.

Best regards, Elisavet

echatziz commented 4 years ago

Found the way to get the number of objects. zGetNSCData(1, 0)