Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Python AutoCAD COM automation via pywin32

Project description

pyacadcom - Pyton automation of AutoCAD
----------------------------------------

Library for simplifying writing ActiveX_ Automation_ Pyton scripts for AutoCAD_

Requires:
----------

- pywin32_

Features:
-----------

- Simplifies work with coordinates (3D points)

Simple usage example:
---------------------

.. code-block:: python

from pyacadcom import AutoCAD, acadPoint


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 `GitHub <https://github.com/lobyntsev-d/pyacadcom>`_.

.. _ActiveX: http://wikipedia.org/wiki/ActiveX
.. _Automation: http://en.wikipedia.org/wiki/OLE_Automation
.. _AutoCAD: http://wikipedia.org/wiki/AutoCAD
.. _pywin32: http://pypi.python.org/pypi/pywin32

Project details


Release history Release notifications

Download files

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

Files for pyacadcom, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size pyacadcom-0.0.1.tar.gz (4.7 kB) File type Egg Python version 3.5 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page