chuongmep / chuongmep/CadPythonShell

Does not work with AutoCAD/Civil 3D 2025

未關閉
#16 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
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:

![Image](https://github.com/user-attachments/assets/b14ca0ed-3e5a-4b5d-9137-f152e466907d)

Then it brings up the shell window showing this:

![Image](https://github.com/user-attachments/assets/25e722b6-3de6-4851-b410-883d02014c01)

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

![Image](https://github.com/user-attachments/assets/51b7df06-a405-4439-8ec1-e57db3f33d43)

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_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。