Skip to main content

Python AutoCAD COM automation via pywin32

Project description

pyacadcom - Pyton automation of AutoCAD

Pyton scripts coding for AutoCAD via ActiveX Automation
v.0.0.9

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

Version history

0.0.9: new types added for wrapping

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.9.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyacadcom-0.0.9-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file pyacadcom-0.0.9.tar.gz.

File metadata

  • Download URL: pyacadcom-0.0.9.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.3

File hashes

Hashes for pyacadcom-0.0.9.tar.gz
Algorithm Hash digest
SHA256 0bdd0d5105b53c89f11597ff064f7e0892ba8de13038a3839f08f7d200711e40
MD5 3f809cb3c83a848211b1ec73a248743b
BLAKE2b-256 43026dc40425801d92dc5598ec3ad724eddffbbbdfec92c4c01dc799139d8b1d

See more details on using hashes here.

File details

Details for the file pyacadcom-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: pyacadcom-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.3

File hashes

Hashes for pyacadcom-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 e91e3fb74c0cb45499a50f2e96f45692e27725374717e4645491125f89f665ab
MD5 5f5304532144983d5328ec7dabf84413
BLAKE2b-256 252cc5fbec14d26917e3a2cf61760ccaca7046ce090e3e6946368a0db7b23b94

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page