Skip to main content

A professional AutoCAD automation package with many functions.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autocad-0.1.12.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autocad-0.1.12-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file autocad-0.1.12.tar.gz.

File metadata

  • Download URL: autocad-0.1.12.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for autocad-0.1.12.tar.gz
Algorithm Hash digest
SHA256 034b05495b2ff2aed03746668d8c406e992a26b85c9c2577dfad0264bd9ddda0
MD5 1d741625d97d0838ca67da075dff62aa
BLAKE2b-256 b46626b13f490d55fa160712987712e6bcebcaf76166b0641ea9d656aba06db9

See more details on using hashes here.

File details

Details for the file autocad-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: autocad-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for autocad-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 ca8f8b57904c573181242199418b802822d5b41cd8a31fba04cccb8268ae49a3
MD5 e857a12f4d028e1865e4efcfad3d3bde
BLAKE2b-256 ca8a6e2dd687bf1feabf8ea00818e50860599baaa892187f185e1f639d6d7ec3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page