-
-
July 3, 2023 at 7:37 pmAlexander Montes-McNeilSubscriber
Hi,
I am receiving the following error when running the Lumerical_project_to_setup_script.lsf on my project:Â
Lumerical_project_to_setup_script;
Generating default property list....
Error: C:/Users/QPhotonics.3/Documents/Lumerical/project_to_script/Lumerical_project_to_json.lsfx line 353: queryuserprop requires a single structure or analysis group object to be selectedHas anyone else run into this and is there a known fix?
Thanks!
Alex
-
July 4, 2023 at 8:12 amAmrita PatiAnsys Employee
Hi Alexander,
The error seems to be due to queryuserprop script command. Are you providing the name of the single structure/analysis group whose properties you would like returned? Would you be able to share the line of code where you use this command?
Regards,
Amrita -
July 5, 2023 at 3:19 pmAlexander Montes-McNeilSubscriber
Yes, thank you. I am running a script provided by Ansys here: https://optics.ansys.com/hc/en-us/articles/1500007185181-FDTD-Project-to-Script-Prototype . I am running this script on a completed tutorial simulation provided by Ansys here:
. It shows how to set up and run an FDTD simulation in Lumerical. I followed the tutorial and completed it successfully. Then when I run the Lumerical_project_to_setup_script.lsf script provided by ansys I receive the error I showed above. -
July 6, 2023 at 5:43 amAmrita PatiAnsys Employee
Hi Alexander,
Thank you for sharing more information. I was able to replicate the issue. It is mentioned that the script is in prototype phase and might not work for all scenarios. I will look into this and get back to you.
Regards,
Amrita -
July 6, 2023 at 5:34 pmAlexander Montes-McNeilSubscriber
Thanks, I am using a relatively new windows machine running windows 11.
-
July 14, 2023 at 9:21 pmAmrita PatiAnsys Employee
Hi Alexander,
We have figured out the issue with the scripts. We are currently testing them and we will update the KB article very soon. I will inform you once it is uploaded. Thank you for bringing this to our attention!
Regards,
Amrita -
July 20, 2023 at 12:34 pmCatriona ThomsonSubscriber
Thank you Amrita. I am also very interested in using this useful script once it has been debugged. I encounter Alexander's same error with the project to setup script, this time, when trying to use it on the "mie_theory_2d.fsp" example (https://optics.ansys.com/hc/en-us/articles/360042703373).
By the way, this example is used for the Python API Tutorial (https://optics.ansys.com/hc/en-us/articles/360034416574-Using-the-Python-API-in-the-nanowire-application-example), but the Mie Theory project file name has been updated, so no longer matches the tutorial, and there is a file extension typo in the second line of the tutorial.
-
- The topic ‘Lumerical_project_to_setup_script error’ is closed to new replies.
- Difference between answers in version 2024 and 2017 lumerical mode solution
- Errors Running Ring Modulator Example on Cluster
- INTERCONNECT – No results unless rerun simulation until it gives any
- Import material .txt file with script
- Help for qINTERCONNECT
- Trapezoidal ring
- Issues with getting result from interconnent analysis script
- Topology Optimization Error
- Edge Coupler EME Example Issue
- How to measure transmission coefficients on a given plane .
-
1241
-
543
-
523
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.