PyAcad 0.4.1

Pyacad Change Log

Changes from Release 0.4 to 0.4.1

Support for Intellicad 2000

The only difference between 0.4 and 0.4.1 is in added support for Intellicad 2000. This change is implemented by adding a new interface file that links to the SDS library, and a few modified #ifdef clauses throughout the rest of the code. Those are completely internal changes, which don't affect any of the actual functionality of the module. There is no need to build new binaries for Autocad/Intellicad.

Changes from Release 0.3 to 0.4

acad_systable object

There is a new object type for accessing system tables for the definitions of layers, blocks, linetypes etc. The new objects are singletons, which can be accessed through the "systables" attribute of the ads module, which is a dictionary holding all available table objects under the key of their respective name.

Initialization

Pyacad now looks for a file "pyacad.py" in the same location where the ARX binary was loaded from. The purpose of this file is similar to what "acad.lsp" does on the lisp side. It can be used to append a library directory to sys.path, where "ads.py" and other support modules can be found. If pyacad doesn't find this file there, it will search the directories listed in sys.path for it. If this search also fails, then the directory where the ARX was loaded from is added to the end of sys.path, assuming that "ads.py" can be found there.

acadmake.py Support Module

There is an "acadmake.py" support module, which makes it more convenient to create entities in an Autocad/Intellicad drawing. The functions in this module are wrappers to the ads.entmake() function, and will create the association lists as required for each type from the arguments supplied or from useful default values for most parameters.

Various fixes

Internal changes