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.
Photonics – Chinese

Photonics – Chinese

Topics related to Lumerical and more, in Chinese language.

脚本批量生成二维图形

    • archimonde
      Subscriber

      孙老师您好,我想用脚本一次生成几个二维椭圆并保存到不同的文件里,但是出了问题

      结果是,生成的四个文件中,第一个文件有一个椭圆,第四个文件却有四个不同规格的椭圆

      想请教老师脚本该如何修改呢

    • Guilin Sun
      Ansys Employee

      你只需要在循环的开始加一句

      newproject;

      即可以,你试试。

       

      因为不是新文件的话,每次画的都保留,第二个有两个,第三个有三个,一次类推。

    • archimonde
      Subscriber

      谢谢孙老师

Viewing 2 reply threads
  • The topic ‘脚本批量生成二维图形’ is closed to new replies.