Python

Python

Oliver_C3D
Advocate Advocate
1,761 Views
2 Replies
Message 1 of 3

Python

Oliver_C3D
Advocate
Advocate
Can I write to the AutoCAD program or extension with Python?
If you can provide a tutorial or reference file in this case?
0 Likes
1,762 Views
2 Replies
Replies (2)
Message 2 of 3

martti.halminen
Collaborator
Collaborator

There is no native support for Python in AutoCAD. You can control AutoCAD via the ActiveX interface from any language that handles it.

- Ill documented, most examples in Autodesk documentation are in Visual Basic, and quite error-prone. The normal error handling is to crash AutoCAD with no way to debug.

 

-- 

 

0 Likes
Message 3 of 3

_gile
Consultant
Consultant

Didn't you see my reply in your previous (same) post ?

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/python-programming-in-autocad/m-p/81...



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes