-
-
September 19, 2024 at 4:33 am
-
September 19, 2024 at 9:47 pmGuilin SunAnsys Employee
Before using Python, I would suggest you to first test the script, say:
setnamed("::model","f2",150e12)
this will assign the frequency "f2" to 150e12 Hz.
Once it works, you can use Python to set it as like other parameters.
Please note that, by default, the script will use SI units: Units and normalization conventions in Lumerical solvers
-
September 20, 2024 at 12:56 amkai.w.abSubscriber
Thank you for your support.
The command "setnamed" works. However, what I want to do is not to set the value of a property that has already been added, but to add a new property first.
How can I do that by using Python?
-
-
September 20, 2024 at 3:29 pmGuilin SunAnsys Employee
Again, you have to first test how to set new properties using Script. FOr exmaple:
select(“::model”);adduserprop(“radius1”,2,0.6e-6);
Python can only manipulate when Lumerical script works.
-
- You must be logged in to reply to this topic.
- 怎么修改生成远场图片的横纵坐标以及坐标标签的字体大小
- INTERCONNECT – No results unless rerun simulation until it gives any
- 如何直观计算3db带宽
- EME得到的S参数与监视器结果不一致的问题
- varFDTD半导体激光器建模方向及反射率设置问题
- INTERCONNECT – obtain power output over time & check for SNR
- Import material .txt file with script
- Inverse Design Freezing Issue
- Calculation of correlation values in laser modulation bandwidth simulation
-
456
-
200
-
194
-
177
-
162
© 2024 Copyright ANSYS, Inc. All rights reserved.