chuongmep / chuongmep/CadPythonShell

Does not work with AutoCAD/Civil 3D 2025

Abierto
#16 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
C#
Estrellas
122
Forks
24
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.