A package aimed to simplfy coding of Activex Automation Module of AutoCAD, based on pywin32 library.
Project description
pyacad
A package aimed to simplfy coding of Activex Automation Module of AutoCAD, based on pywin32 library.
Features
- Uses of COM (Componnent Object Model of Microsoft) for manipulate AutoCAD application with Python.
- Python Autocad class for manipulate.
Usage
from pyacad import Autocad, APoint
# Create a line in the active document model space.
acad = Autocad()
p0 = APoint(1, 1)
p1 = APoint(2, 3)
acad.model.AddLine(p0, p1)
# Zoom the line by extents.
acad.app.ZoomExtents()
Links
- Documentation at: ReadTheDocs
- Source code and issue tracking at: GitHub
Support me:
- If you want to pay me for a beer, coffee, or something else: C|_|
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
pyacad-0.0.6.tar.gz
(4.8 kB
view details)
File details
Details for the file pyacad-0.0.6.tar.gz.
File metadata
- Download URL: pyacad-0.0.6.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
488c850f4852da9a1fe7f7e8dd6f112d699868b6ba6a3be681c9c31db54bfc3a
|
|
| MD5 |
5ffb998b262e20c2572de2ff2cb16b8e
|
|
| BLAKE2b-256 |
034b8a35334141a1f30f01827c7d20c9d73b3121be714f094f9fdaec382b9492
|