- For several years I've been writting Visual Basic programs that
produce drawings using DesignCAD V13 to V15. The programmers who
developed the Automation tools for DesignCAD did a great job,
however, I'm afraid that these tools were not fully appreciated.
Yesterday I entered the UpperSpace Discussion Forum for the first
time, looking for an answer to an question I had on Automation. One
of the users contacted me and asked for some help programming
Automation. He directed me to the DesignCAD Unleashed Website,
suggesting that I upload some of my code.
The combination of Visual Basic 6 and DesignCAD offer limitless
programming capabilities, beyond BasicCAD. BasicCAD is great, but
with Automation you will be able to open up a whole Universe of
possibilities. VB6 is a different product than Visual Basic.Net,
which I understand is entirely different, despite the "Visual Basic"
name. If you can get your hands on a copy of VB6, the following code
lays down the basic format for building programs.
In the next few months, I will be releasing a Windows based package
of engineering programs. The attached code uses one of the general
modules that I developed for producing automated details. For the
purposes of illustration, this simple program draws either a box or
a circle. However, if you look into the module DC-AUTOMATION.BAS you
will see all of the various functions for controlling DesignCAD with
Visual Basic. It's easy as easy as BASICCAD - in fact, it's probably
even easier, because of the VB6 editor.
Have fun,
Karl Hanson
DesignCalcs, Inc.
P.O. Box 810
Glenview, IL
|