Skip to content

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 manipulation of drawings and objects.

License

Notifications You must be signed in to change notification settings

Jsweb-Tech/AutoCAD

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.

About

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 manipulation of drawings and objects.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published