chuongmep / chuongmep/CadPythonShell
Does not work with AutoCAD/Civil 3D 2025
- 主要语言
- C#
- 星标
- 122
- 派生
- 24
- PR 合并指标
- 30 天内没有已合并 PR
描述
### Search existing issues
- [x] I have searched the issue tracker and confirmed that I was unable to find existing issues for the problem I am experiencing.
### The problem
If I try to open the Python console in Civil 3D 2025 by running the `PYTHONCONSOLE` command or by clicking the `Run CPS` button in the ribbon, I get an error window:

Then it brings up the shell window showing this:

If I then try to run some Python code within the window, I get a message and Civil 3D freezes indefinitely:

I assume the CadPythonShell plugin needs upgraded to work with .NET framework 8, which AutoCAD/Civil 3D now uses.
### Release version
1.1.3
### Operating system
Windows 10
### Steps to reproduce the behavior
_No response_
### Log files
_No response_
### Screenshots
_No response_
### Additional context
_No response_
贡献指南
调研方向
首先使用 PYTHONCONSOLE 命令和功能区上的 Run CPS 按钮在 Civil 3D 2025 中复现该故障,然后检查 issue 中显示的错误窗口和 shell 窗口。完成的标准是 Python 控制台能够打开并运行 Python 代码,而不会使 .NET Framework 8 下的 Civil 3D 卡死。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp, python
- 领域
- desktop, devtools
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100