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.3.tar.gz
(4.3 kB
view hashes)