Python AutoCAD COM automation via pywin32
Project description
pyacadcom - Pyton automation of AutoCAD
Pyton scripts coding for AutoCAD via ActiveX Automation
v.0.0.8
Requires:
- pywin32
Features:
- Solves connection to Autocad COM
- Simplifies work with coordinates
- Simplifies user input
Simple usage example:
from pyacadcom import AutoCAD, acadPoint
acad=AutoCAD()
point1 = acadPoint(25, 50, 0)
nextpoint = (100,100,10)
point2 = acadPoint(nextpoint)
acad.ActiveDocument.ModelSpace.AddLine(point1(), point2())
point3 = point1 + point2
acad.ActiveDocument.ModelSpace.AddLine(point2(), point3())
Links
- Source code and issue tracking at https://github.com/lobyntsev-d/pyacadcom
- pywin32: http://pypi.python.org/pypi/pywin32
Version history
0.0.8: fix attribute errors cases
0.0.7: new COM wrapper
0.0.6: bugfix
0.0.5: bugfix
0.0.4: user input methods
0.0.3: service methods
0.0.2: acadPoint class
0.0.1: first release
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
pyacadcom-0.0.8.tar.gz
(9.9 kB
view hashes)
Built Distribution
pyacadcom-0.0.8-py3-none-any.whl
(11.0 kB
view hashes)
Close
Hashes for pyacadcom-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83428fc21e6776b0689423d2f6e41f19528cac82f893b9ecbea1efd9697b5e52 |
|
MD5 | 1cd0abad91447381a8862bca54956131 |
|
BLAKE2b-256 | 93a38206ff2177c39b3563424ea90d07db4a4997056f084ed6c6d1fd054e8d2f |