chuongmep / chuongmep/CadPythonShell

Does not work with AutoCAD/Civil 3D 2025

Aperta
#16 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
C#
Stelle
122
Fork
24
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.