Skip to main content

AutoCAD Library

AutoCAD Python Library

GitHub Instagram LinkedIn Website

PyPI version Downloads License

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:

Credits

Built on the shoulders of:


Note: This project is not affiliated with Autodesk AutoCAD in any way.

Metadata

Release files for AutoCAD 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for AutoCAD 0.1.12
File Size Uploaded
autocad-0.1.12.tar.gz 19.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for AutoCAD 0.1.12
File Interpreter ABI Platform
autocad-0.1.12-py3-none-any.whl Python 3 none any Details

Total release size: 38.1 kB

Release files / autocad-0.1.12.tar.gz

Download URL autocad-0.1.12.tar.gz
Size 19.9 kB
Tags Source
SHA-256 checksum
How to use checksums
034b05495b2ff2aed03746668d8c406e992a26b85c9c2577dfad0264bd9ddda0
BLAKE2b-256 checksum
How to use checksums
b46626b13f490d55fa160712987712e6bcebcaf76166b0641ea9d656aba06db9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / autocad-0.1.12-py3-none-any.whl

Download URL autocad-0.1.12-py3-none-any.whl
Size 18.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ca8f8b57904c573181242199418b802822d5b41cd8a31fba04cccb8268ae49a3
BLAKE2b-256 checksum
How to use checksums
ca8a6e2dd687bf1feabf8ea00818e50860599baaa892187f185e1f639d6d7ec3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.1.12 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page