Lumerical scripting how to export data as .csv
I've been trying to save a matrix from a numerical scripting session as a csv. However, it looks like "exportcsvresults" may be outdated (kind here: https://optics.ansys.com/hc/en-us/articles/360034411454-exportcsvresults-Script-command ).
How do I go about exporting a matrix as a .csv file?
Answers
-
Could someone in the @AKD-Scripting-Team assist here?
0 -
@AKD-Scripting-Team @Chris Harrold I'm still waiting for a response
0 -
@cgutie22 - sorry you've had a delay here. There was a problem with the @AKD-Scripting-Team being notified on tagging in posts. We found it and fixed it so it should be working now and they will get to you soon.
0 -
@cgutie22 Does example on this page work for you? Refer to the example printing 2D matrices in a text file. exportcsvresults exports simulation results to a file.
https://optics.ansys.com/hc/en-us/articles/360034411134-write-Script-command
0 -
Please note that AKD-Scripting-Team can only help with questions related to structural mechanics. We have no knowledge on scripting for lumerical/optics. @Chris Harrold FYI.
0 -
Thanks, @Pernelle Marone-Hitz - That was dumb of me. I will get some Lumerical folks on it.
0