Solved

autocad vba

Posted on 2016-08-10
2
17 Views
Last Modified: 2016-08-30
why autocad 2010 vba 64 bit is so much slower than 32 bit
0
Comment
Question by:Cad Coder
2 Comments
 
LVL 53

Accepted Solution

by:
Bill Prew earned 500 total points (awarded by participants)
ID: 41751974
I noticed this question had gone unanswered for a bit so wanted to offer a little help.  But I have to say I am not a current AutoCAD user (used it a number of years ago), and don't have personal experience with your problem.  However as an expert interested in Windows and scripting in general I did a little research.

It sounds like when AutoCAD was ported to a 64 bit version that the way they had to approach VBA caused some major performance issues.  You already know that.  Looking on some of the Autodesk support sites it seems like you have a few choices.

(1) Uninstall AutoCAD 64 bit and install AutoCAD 32 bit.  This seems to reslove the VBA performance issue, but naturally other AutoCAD functions will be slower.

(2) Convert your VBA routines to VB.NET.  Performance will be great there, but there is a learning curve to get to VB.NET, and it is more complicated.

(3) Convert your VBA routines to Visual LISP.

Sorry there isn't a simple solutions, you may want to post on some of the AutoCAD specific support forums and see if you can get additional information and help there.  A few links below that might be helpful.

http://forums.autodesk.com/t5/autocad-civil-3d-general/vba-conversion/td-p/4523705
http://blog.jtbworld.com/2013/09/autocad-performance-issues-and-vba.html
http://www.cadtutor.net/forum/showthread.php?65966-VBA-on-AutoCAD-2012-64-bit

~bp
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question