PDA

View Full Version : Solidworks Edrawings disables autostart VBA



Mlabell
2008-04-10, 12:49 AM
I am posting this to hopefully help others with this problem. I have recently found out that in AutoCAD 2008 and initializing VBA upon launch of AutoCAD gets disabled if you integrate a third party software called Edrawings. If you choose to not integrate the software themn there are no problems with the software screwing up the auatostart function of vba on launch.

Why does this happen?

Edrawings installs a acad.rx file in C:\Program Files|AutoCAD 2008\support folder. Which trumps the acad.rx file that is in C:\Program Files|AutoCAD 2008 folder. If the program is accidentally integrated then delete the acad.rx file in the support folder. Hopefully this helps someone out there since I spent a day trying to figure out the problem.

ccowgill
2008-04-10, 02:41 PM
another solution would be to add the contents of the acad.rx file that is overruled to the one that was created by this program.

Ed Jobe
2008-04-10, 02:53 PM
You could also initialize vba from acad.lsp using:
(arxload "acvba.arx" "\nACVBA.ARX file not loaded.")

I found that this actually happens first due to the fact that acad.lsp gets read before acad.rx.

Mlabell
2008-04-10, 03:58 PM
You could also initialize vba from acad.lsp using:
(arxload "acvba.arx" "\nACVBA.ARX file not loaded.")

I found that this actually happens first due to the fact that acad.lsp gets read before acad.rx.

Now that is a good piece on information I was not aware of. I think that I will talk to a few of the people here but that may be the way to go, now we need to just pump it to 170 computers, before we complete our 2008 upgrade (1000+ computers in another month).