Problem with drawing setup program

Problem with drawing setup program

Anonymous
Not applicable
356 Views
3 Replies
Message 1 of 4

Problem with drawing setup program

Anonymous
Not applicable
We set up project drawings via a VBA function I wrote that creates the file
(actually opens a template and saves it as . . .) inserts title block,
creates viewports, loads appropriate layers and other information. (There's
a lot more to it than that, but that's the basics.)

It worked fine in ADT3.3, but now that we've changed to ADT2006, it seems to
run OK but leaves AutoCad in a sort of state of suspended animation. The new
drawing shows no cursor, doesn't respond to command line, etc. If other
files are open, they can be closed and saved by clicking the X box on the
window, but they also don't respond to any commands. The new file can't be
closed by clicking the X, nor can AutoCad be. Have to crash it through Task
Manager.

I've converted all templates, title blocks, and other relevant source files
to 2004 format.

Anybody have any ideas on what might be going on here? I'd appreciate any
help at all.
0 Likes
357 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
did you try debuging your VBA code. If you are feeding it command like stuff, that might be a problem.
0 Likes
Message 3 of 4

Anonymous
Not applicable
I had something similar happen and it somehow fixed itself by my opening the cui and saving it. As I was new to installing 2006 I couldn't tell you how it happened or how it was fixed. The vba is on a network and accessed through a pull down menu so the cui should have nothing to do with it.
0 Likes
Message 4 of 4

Anonymous
Not applicable
You have a bug in your code somewhere that ADT2006 doesn't like. I had the same problem with Mech2005. The lose of you cursor and the suspended animation are symptoms of your VBA not finishing it's processing.

?Why cany you simply use a template to do all of the things you listed below?
0 Likes