sliz Posted April 1, 2009 Posted April 1, 2009 Hi guys, wondering if you can help me out. One of the guys at work was running Autocad 2000, and had written a small vba module to automate 90% of his drawing tasks (drawing base plans for small sunrooms - nothing complex) that operated from a custom menu. This guy has since left the company, and his work has been passed to me. It would be ideal if I could somehow incorporate this automated routine into my Autocad, but as I am on a newer machine I am running LT 2004, which I understand doesn't support Visual Basic. Is there any way I can convert/incorporate his rountines into the newer version? Quote
ReMark Posted April 1, 2009 Posted April 1, 2009 I'm not 100% sure but you could look into an add-on program for LT called Toolbox LT. For further info: http://www.cadopolis.com/autocad_addons/GlobalCAD_ToolBox-LT.shtml Quote
CmdrDuh Posted April 1, 2009 Posted April 1, 2009 Yes and no, depends on what they did. If you can describe what they did, or if you have access to the file (assuming it was written on company time, that whole intellectual property thing) we can see what can be done Quote
sliz Posted April 2, 2009 Author Posted April 2, 2009 Yes and no, depends on what they did. If you can describe what they did, or if you have access to the file (assuming it was written on company time, that whole intellectual property thing) we can see what can be done What is it that you would need to see? I can copy & paste the code in the module, or I can upload the .dvb file? Quote
CmdrDuh Posted April 2, 2009 Posted April 2, 2009 Well, LT wont run VBA code, so by looking at what the functions do, maybe we can find a way to give you that flexability for your LT version. Posting the code is fine, but just a good description of what is happening is just as good. Quote
sliz Posted April 2, 2009 Author Posted April 2, 2009 Hi, I've attached the module code as a pdf as it was too large to upload as a text file. If you would like me to copy the text into a post, just let me know. Thanks Module1.pdf Quote
CmdrDuh Posted April 2, 2009 Posted April 2, 2009 OK, the bad news is LT is not going to be able to use any of that. I was hoping we could make macros to copy the same type of work the VBA did before. I think you are going to need a full license of cad to make that work in a way you will be happy with. Quote
sliz Posted April 3, 2009 Author Posted April 3, 2009 Ok, much as I feared. Thanks for your time. Quote
sliz Posted April 7, 2009 Author Posted April 7, 2009 Morning gents, Further to my first post, is there any way in LT 2004 to automate the process of drawing simple shapes? I work for a window company, and part of my job is specifying triagular "gable" frames. Usually I have to do this manually, but it is actually a simple process: * a set figure is added to the width of the lower frames to give to give the length of the gable frame * the pitch of the existing roof is then drawn from the end points of this line to create the gable shape * the frame is flattened off at the top by a set figure determined by the pitch * the outline shape is offset internally by 65mm (the depth of the window profile) and trimmed to tidy it up * Finaly, the frame is dimensioned. Is it possible to do? I can add drawings to each stage of the above process if it will help to understand things a little easier. Thanks Quote
hugha Posted April 8, 2009 Posted April 8, 2009 Not with LT. There is no automation in LT aside from keystroke scripts (and I wouldn't wish those on anyone for automating anything non-trivial). Consider a less expensive, programmable alternative: PowerCAD: http://www.graebert.com/index.php?option=com_cad&Itemid=52&lang=en IntelliCAD: https://www.intellicad.org/members/index.php DataCAD: http://www.datacad.com/ TurboCAD: http://www.turbocad.com/ or third party LT automation such as drcauto Toolkit or Toolkit Max: http://www.drcauto.com/ (make sure it will work for 2004). or put the bite on management for a full ACAD2KX seat. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.