AutoCAD automation through Python scripting

Gespeichert in:
Bibliographische Detailangaben
Titel: AutoCAD automation through Python scripting
Autoren: Antonio Fernández, Lucía Díaz Vilariño, Francesco Bianconi
Weitere Verfasser: Cristina Manchado del Val, Ramón Mirálbes Buil, Cristina Torrecillas, Manuel Morato-Moreno, Fernández, Antonio, Díaz Vilariño, Lucía, Bianconi, Francesco
Verlagsinformationen: Springer
Publikationsjahr: 2026
Bestand: IRIS Università degli Studi di Perugia
Schlagwörter: AutoCAD, Python, Automation, Computer aided design, Applied programming
Beschreibung: This work explores the automation of AutoCAD workflow using Python scripting, with a focus on the different Python libraries available for such tasks. The article analizes four prominent Python packages—win32com, pyautocad, PyAutoGUI, and ezdxf—assessing their strengths and weaknesses in the context of AutoCAD automation. To evaluate the performance of these libraries, a Python application was developed for the simple task of prefixing layer names in an AutoCAD drawing, testing each library’s effectiveness in accomplishing this task. The findings indicate that each Python library offers distinct advantages depending on the automation requirements, with ezdxf standing out in aspects such as versatility, robustness, and documentation quality.
Publikationsart: conference object
Dateibeschreibung: ELETTRONICO
Sprache: English
Relation: info:eu-repo/semantics/altIdentifier/isbn/978-3-032-08108-7; ispartofbook:Advances on Design Engineering V Proceedings of the 34th INGEGRAF International Conference, INGEGRAF2025, June 25–27, 2025, Seville, Spain—Volume II: Innovations in Products, Advanced Manufacturing and Design Engineering; 34th INGEGRAF International Conference; firstpage:3; lastpage:12; numberofpages:10; serie:LECTURE NOTES IN MECHANICAL ENGINEERING; https://hdl.handle.net/11391/1601834
DOI: 10.1007/978-3-032-08108-7_1
Verfügbarkeit: https://hdl.handle.net/11391/1601834
https://doi.org/10.1007/978-3-032-08108-7_1
Dokumentencode: edsbas.9F0C008B
Datenbank: BASE
Beschreibung
Abstract:This work explores the automation of AutoCAD workflow using Python scripting, with a focus on the different Python libraries available for such tasks. The article analizes four prominent Python packages—win32com, pyautocad, PyAutoGUI, and ezdxf—assessing their strengths and weaknesses in the context of AutoCAD automation. To evaluate the performance of these libraries, a Python application was developed for the simple task of prefixing layer names in an AutoCAD drawing, testing each library’s effectiveness in accomplishing this task. The findings indicate that each Python library offers distinct advantages depending on the automation requirements, with ezdxf standing out in aspects such as versatility, robustness, and documentation quality.
DOI:10.1007/978-3-032-08108-7_1