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_


- pywin32_


- Simplifies work with coordinates (3D points)

Simple usage example:

.. code-block:: python

from pyacadcom import AutoCAD, acadPoint

from pyacadcom import AutoCAD, acadPoint

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())


- **Source code and issue tracking** at `GitHub <>`_.

.. _ActiveX:
.. _Automation:
.. _AutoCAD:
.. _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