Skip to main content

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


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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page