Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Python and AutoCAD

3 REPLIES 3
Reply
Message 1 of 4
miacuviz13
477 Views, 3 Replies

Python and AutoCAD

I wrote a code in Python for converting Serbian Latin letters into Cyrillic and vice versa, it was meant to be a tool for AutoCAD, but I can't seem to figure out a way to make it work in AutoCAD. Has anyone worked with Python and AutoCAD before, is something like this possible?

Tags (1)
3 REPLIES 3
Message 2 of 4
AVCPlugins
in reply to: miacuviz13

Actually, plugins for AutoCAD are written in .Net (C# or BASIC). For the pros there is C++ (ObjectArx). For very simple macros, you can use LISP scripts. But Python is not directly supported. However, enthusiasts come up with workarounds. For example, read here: https://pypi.org/project/pyautocad/


Plugins for AutoCAD
A>V>C>
AppStore | Facebook | Twitter | YouTube | Blog
Message 3 of 4
miacuviz13
in reply to: AVCPlugins

Thank you, will read more on it! 

Message 4 of 4
ed57gmc
in reply to: miacuviz13

@daniel_cadext has a C++ wrapper library for python. He works on it at the swamp. If you want help for it here, ask your questions in the .NET forum.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report