Photonics – Chinese

Photonics – Chinese

Topics related to Lumerical and more, in Chinese language

如何使用脚本打开EME里port的user select的mode select按钮,并对里面的mode analysis进行设置?

TAGGED: ,

    • paopaowenhua
      Subscriber

      我主要是想对第二张图的内容进行设置,控制在特定折射率附近去寻找我想要的模式,但是不知道脚本怎么去写?

      当然,以下这些脚本我是知道的(虽然并不是针对我的问题):

      setnamed("EME::Ports::port_2","mode selection","user select");

      setnamed("EME::Ports::port_2","port location","right");

      select("EME::Ports::port_2");

      updateportmodes([1]);

    • Guilin Sun
      Ansys Employee

      "user select"本身应该是用户手动选择,因为如果没有事先的经验不大可能知道选哪个或者哪几个模式合适。

      进一步的操作目前不能用脚本控制。建议参考这个帖子写一个请求。

      New Feature vote:   Vote new features, and file your feature request

      如果已经知道这个模式什么样,可以选择user import输入可能更简便。

    • Taylor Robertson
      Ansys Employee

      Hello,

      Thanks for submitting your idea to IX. In EME you can set ports and subcells using script via the special script command seteigensolver - Script command.

      Best Regards,

       

Viewing 2 reply threads
  • You must be logged in to reply to this topic.