-
Notifications
You must be signed in to change notification settings - Fork 67
Description
Indranil,
First of all, thank you very much for this amazing Python package, as it seems to work incredibly well so far. I have, however, been experiencing an issue that doesn't really make any sense to me. I'm currently using Zemax version 18.4 and am experiencing issues when I attempt to use the zGetTextFile method to create a .txt output file of all of the data associated with the RMS Field Map analysis. The code is as follows:
dir = os.path.dirname(os.path.realpath(__file__))
txtFileRFM = dir + "\rfmOutput.txt"
rmsFile = ln.zGetTextFile(textFileName=txtFileRFM, analysisType='Rfm', flag=0, timeout=None)
The part that's confusing me the most is that this exact same method works perfectly fine when attempting to access the Wavefront map data by passing in analysisType="Wfm". For some reason, however, when trying to access the RMS Field Map data, the zGetTextFile method keeps returning -1 as the output and thus my file with the RMS data never actually gets created anywhere.
Look forward to hearing from you soon.