Metadata-Version: 1.0
Name: pyautocad
Version: 0.1.0
Summary: AutoCAD Automation for Python
Home-page: https://bitbucket.org/reclosedev/pyautocad
Author: Roman Haritonov
Author-email: reclosedev@gmail.com
License: BSD License
Description: 
        pyautoacad - AutoCAD Automation for python
        ------------------------------------------
        
        Example code::
        
            from pyautocad import Autocad
            from pyautocad import APoint
        
            acad = Autocad()
            acad.prompt("Hello, Autocad from Python\n")
            print acad.doc.Name
        
            p1 = APoint(0, 0)
            for i in range(5):
                acad.model.AddMText(p1, 10, u'Hi!')
                p1.y += 10
            p2 = APoint(0, 0)
            acad.model.AddLine(p2, p2 + APoint(0, 100))
        
            dp = APoint(10, 0)
            for mtext in acad.iter_objects('MText'):
                print mtext.TextString, mtext.InsertionPoint
                mtext.InsertionPoint = APoint(mtext.InsertionPoint) + dp
                # or
                # p = APoint(mtext.InsertionPoint)
                # p.x += 10
                # mtext.InsertionPoint = p
        
        
Keywords: autocad,automation,activex,comtypes
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: License :: OSI Approved :: BSD License
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: Microsoft :: Windows
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Scientific/Engineering
