We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.

Ansys Learning Forum Forums Discuss Simulation Photonics – Chinese TE模式光无法用脚本设置,显示lumapi错误 Reply To: TE模式光无法用脚本设置,显示lumapi错误

Guilin Sun
Ansys Employee

mode selection 中间没有下划线。

setnamed("source","mode selection","fundamental TM mode");

以后不知道里面变量名,可以用问号,例如

?setnamed("source")

可以知道里面所有的变量。