Jump to content

Recommended Posts

Posted

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?

Posted

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

Posted
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?

Posted

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.

Posted

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

Posted

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.

Posted

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

Posted

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:

 

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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...