Visual Basic Applications run very slow in AutoCAD 64bit

If you use VBA inside of 32bit AutoCAD you will have noticed that it is around 1000x times slower when running the same VBA code inside of 64bit AutoCAD.

This is because AutoCAD 64bit ships with the 32bit VBA DLL in a separate out-of-process executable rather than loading the VBA DLL inside of AutoCAD itself. Therefore, a lot of marshaling is incurred communicating between the out-of-process VBA executable and 64bit AutoCAD.

Other issues you may be seeing: Run-time error ‘429’: ActiveX component can’t create object

The Solution:

The best solution is to install 32bit AutoCAD on 64bit Windows, here are the affected versions along with their solution text…

Copyright 2017 (c) Longbow Software