-
-
March 30, 2025 at 1:32 pm
-
April 3, 2025 at 12:15 pm
Yang Zhao
Ansys Employee-
April 8, 2025 at 8:18 am
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脚本还会有中文的内容,导致编码有问题无法运行。
感谢您的回复。
-
-
April 8, 2025 at 1:23 pm
-
Viewing 2 reply threads
- 您必须登录才能回复此主题。
Ansys Innovation Space
Trending discussions
Top Contributors
-
2933
-
970
-
852
-
599
-
591
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.