-
-
December 2, 2021 at 10:59 pm
iqnlo
SubscriberHi there
I'm doing parameters sweep with an EME solver and I want to save the mode profile of each loop. May I ask which command shall I use if I want to save the mode profile of cell(3) of the EME result? I want to save the jpg format pictures. Thank you so much!
December 3, 2021 at 10:58 pmKyle
Ansys Employee
The videos on these pages (from our online scripting course) describe how to get results from simulations and plot them:
https://support.lumerical.com/hc/en-us/articles/360045464713
https://support.lumerical.com/hc/en-us/articles/360045464653
The mode fields can be obtained with this command:
getresult("EME::Cells::cell_3", "mode fields");
Are you using the parameter sweep utility? I think you should be able to save the images in each iteration if you put the commands in the model analysis script, which will run automatically at each iteration of the sweep:

Otherwise, the files from each iteration are saved in a subfolder. You could write a script file that opens each file with the load command and then saves the images.
December 5, 2021 at 4:15 pmiqnlo
SubscriberThis works! Thanks a lot!!!
Viewing 2 reply threads- The topic ‘Save mode profile by command’ is closed to new replies.
Innovation SpaceTrending discussionsTop Contributors-
6625
-
1906
-
1469
-
1311
-
1022
Top Rated Tags© 2026 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-
The Ansys Learning Forum is a public forum. You are prohibited from providing (i) information that is confidential to You, your employer, or any third party, (ii) Personal Data or individually identifiable health information, (iii) any information that is U.S. Government Classified, Controlled Unclassified Information, International Traffic in Arms Regulators (ITAR) or Export Administration Regulators (EAR) controlled or otherwise have been determined by the United States Government or by a foreign government to require protection against unauthorized disclosure for reasons of national security, or (iv) topics or information restricted by the People's Republic of China data protection and privacy laws.
