The AutoCAD Python library provides a comprehensive interface for automating AutoCAD tasks. It leverages the COM client to interact with AutoCAD, allowing for efficient manipulation of drawings and objects directly from Python.
pip install AutoCADfrom AutoCAD import AutoCAD, APoint
# Initialize AutoCAD connection
cad = AutoCAD()
# Create a circle
center = APoint(10, 10, 0)
circle = cad.add_circle(center, radius=5)For comprehensive guides, API reference, examples, and more, visit the full documentation:
AutoCAD Python Library Documentation
- Object Creation (circles, lines, rectangles, ellipses, text, tables, etc.)
- Layer Management
- Block Operations
- Group Management
- Drawing Properties Management
- User Interaction & Input
- View Management
- Error Handling
- Python 3.8+
- AutoCAD 2010 or later
- Windows OS (for COM support)
- pywin32
Want to contribute? Check out our Contributing Guidelines to get started.
This project is licensed under the MIT License - see the LICENSE file for details.
For questions, issues, or suggestions:
- Open an Issue
- Start a Discussion
- Email: jonespetersoftware@gmail.com
Built on the shoulders of:
Note: This project is not affiliated with Autodesk AutoCAD in any way.
