We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Ansys 产品

Ansys 产品

optiSLang does not have a MotorCAD solver wizard.

    • chenpx2024
      Subscriber

    • Yang Zhao
      Ansys Employee

      Hi Chen,

      Motor-CAD有一个插件可以直接导出optisLang python脚本,如下图所示。如果您需要更多的详细文档,请联系Ansys技术支持。

      Regards,

      Yang

      • chenpx2024
        Subscriber

        你好,导出optisLang python脚本后是可以直接运行吗。

        我在试运行的时候,出现以下信息

        Python script Exception: An error occurred in user script. Exception: (unicode error) 'utf-8' codec can't decode byte 0xd3 in position 2: invalid continuation byte (UserScript.py, line 280)

        试图修改本地.py文件时,刷新后修改的内容就会被抹去。

        取消翻译(切换回英文)后,重新生成的python脚本还会有中文的内容,导致编码有问题无法运行。

        感谢您的回复。

    • Yang Zhao
      Ansys Employee

      Hi Chen,

      您好,您可以尝试下将计算级Region设置为English看看有没有帮助。如果还是不行,请在Ansys ACSS系统 https://customer.ansys.com 提交一个Case,将会有Ansys技术支持工程师联系您,跟您在线来查看。

Viewing 2 reply threads
  • 您必须登录才能回复此主题。