therock005 Posted June 9, 2020 Share Posted June 9, 2020 I started watching some tutorials in Python and got some help from a friend that has a certificate in that language. Will I be able to make use of it inside Autocad or should I focus in a more standardized language like LISP or VBA? Where should I focus my efforts Quote Link to comment Share on other sites More sharing options...
Tycon_Paris Posted October 26, 2020 Share Posted October 26, 2020 LISP is more flexible in Autocad. I reccomend it VBA is older... Quote Link to comment Share on other sites More sharing options...
CyberAngel Posted October 27, 2020 Share Posted October 27, 2020 AutoLISP was baked into AutoCAD, so it is best suited for working with drawings. For what was intended to be nothing more than a LISt Processor, the language is surprisingly powerful. Visual Basic is also baked in, but it's, you know, basic. If you're doing some high-powered analysis or object handling, Python is probably better suited, better supported, and easier to use. It depends on what you want to do. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted October 27, 2020 Share Posted October 27, 2020 TYcon_paris not sure about VBA preceeding lisp there was Cobol, Fortran and BASIC, Lisp was probably the same era, Visual Basic for Applications ? by Microsoft ? Quote Link to comment Share on other sites More sharing options...
BIGAL Posted October 27, 2020 Share Posted October 27, 2020 (edited) TYcon_paris not sure about VBA preceeding lisp there was Cobol, Fortran and BASIC, Lisp was probably the same era, Visual Basic for Applications ? by Microsoft ? Visual Basic is a third-generation event-driven programming language from Microsoft known for its Component Object Model (COM) programming model first released in 1991 Lisp was invented by John McCarthy in 1958 while he was at the Massachusetts Institute of Technology (MIT). McCarthy published its design in a paper in Communications of the ACM in 1960, entitled "Recursive Functions of Symbolic Expressions and Their Computation by Machine, Part I" (Part II was never published). Edited October 27, 2020 by BIGAL Quote Link to comment Share on other sites More sharing options...
Soumya Suman Posted February 3, 2022 Share Posted February 3, 2022 Yes, you are able to use python inside AutoCad. If you are eager to learn python and interested in using it in AutoCad then go for it. You can use pyautocad libraries with AutoCad COM API or IronPython with AutoCAD .NET API. There's also a there's the comtypes package. If you know AutoCAD's item model, you could invoke nearly each approach and fetch nearly each value. I hope this is helpful. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.