Skip to main content

A package aimed to simplfy coding of Activex Automation Module of AutoCAD, based on pywin32 library.

Project description

pyacad

A package aimed to simplfy coding of Activex Automation Module of AutoCAD, based on pywin32 library.

Features

  • Uses of COM (Componnent Object Model of Microsoft) for manipulate AutoCAD application with Python.
  • Python Autocad class for manipulate.

Usage

from pyacad import Autocad, APoint

# Create a line in the active document model space.
acad = Autocad()
p0 = APoint(1, 1)
p1 = APoint(2, 3)
acad.model.AddLine(p0(), p1())

# Zoom the line by extents.
acad.app.ZoomExtents()

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

pyacad-0.0.5.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file pyacad-0.0.5.tar.gz.

File metadata

  • Download URL: pyacad-0.0.5.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.3

File hashes

Hashes for pyacad-0.0.5.tar.gz
Algorithm Hash digest
SHA256 a3a81c876a36d0321b61980f8d15f8eef94f116caa13d7f359213750bbc9d3c9
MD5 eee9fe7b842fde992721307ff53b7ecd
BLAKE2b-256 8b36353686b6a20064f35523dcd861b2b540793f1017889b586de8eeca3e8d5f

See more details on using hashes here.

Supported by

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