Ansys Learning Forum Forums Discuss Simulation Photonics Can’t add frequency domain field profile into structure group using script Reply To: Can’t add frequency domain field profile into structure group using script

Devika
Ansys Employee

 

Thanks for shairing more details: 

Are you adding

”addprofile” in

Structure group? That could be the reason of error. 

 

You won’t be able to add the profile monitor there. Its only for the structure . You can add monitors in analysis group. Or you can use any of the following options. 

 

Option 1:

You can create an lsf file from Script file Editor on the right side of window and add profile monitor

Option 2: 

add the monitor inside the model script.

 

I will recommend this course material: Ansys Lumerical Scripting – Learning Track | Ansys Innovation Courses

Please let me know this solve the problem.

Thanks and regards

Devika