AutoCAD
AutoCAD copied to clipboard
The AutoCAD python library provides a comprehensive interface for interacting with AutoCAD through Python. It leverages the COM client to automate tasks within AutoCAD, allowing for efficient manipula...

AutoCAD Python Library
About
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.
Quick Installation
pip install AutoCAD
Quick Start
from AutoCAD import AutoCAD, APoint
# Initialize AutoCAD connection
cad = AutoCAD()
# Create a circle
center = APoint(10, 10, 0)
circle = cad.add_circle(center, radius=5)
Documentation
For comprehensive guides, API reference, examples, and more, visit the full documentation:
AutoCAD Python Library Documentation
Key Features
- 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
Requirements
- Python 3.8+
- AutoCAD 2010 or later
- Windows OS (for COM support)
- pywin32
Contributing
Want to contribute? Check out our Contributing Guidelines to get started.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contact
For questions, issues, or suggestions:
- Open an Issue
- Start a Discussion
- Email: [email protected]
Credits
Built on the shoulders of:
Note: This project is not affiliated with Autodesk AutoCAD in any way.