Hi,
What is the correct way to save the whole .txt file in the POP Analysis?
I am using and UDOC running a Csharp UserOperandApplication containing the following code:
...
POPDef.ApplyAndWaitForCompletion();
POPDef.ToFile("C:/Users/file.txt");
…some calculations...
It works for a single call from OpticStudio, but it gives problems when doing tolerancing. Somehow the file saving command is not synchronous and cannot keep up.
Is there other command for saving the whole .txt file?-or maybe a way to make the rest of code wait for POPDef.ToFile?
Regards,
Jose