why it takes so much time when saving a drawing after loading a dvb file

why it takes so much time when saving a drawing after loading a dvb file

Anonymous
Not applicable
355 Views
4 Replies
Message 1 of 5

why it takes so much time when saving a drawing after loading a dvb file

Anonymous
Not applicable
hi,

i am using 2005 to draw,but after i load a dvb file to use vba subs,

it takes me so much time to save a drawing ,

i mean the moment i save a drawing ,it seems that all loaded vba subs are
executed,

i dont know why,

for i used same vba in 2000i,there werent happenings like this,

what is the problem

thanks
0 Likes
356 Views
4 Replies
Replies (4)
Message 2 of 5

arcticad
Advisor
Advisor
My almost-uneducated guess.

if you use an object modify event (reactor). When the drawing is saved in a non native format it will have to convert every object and the run the reactor thousands of times.

You need to have one dvb file unload the reactor code before you save the file.
---------------------------



(defun botsbuildbots() (botsbuildbots))
0 Likes
Message 3 of 5

Anonymous
Not applicable
Thanks for your advice.
but i knew and i had looked for the bug and failed,
thanks




wrote in message news:5867201@discussion.autodesk.com...
My almost-uneducated guess.

if you use an object modify event (reactor). When the drawing is saved in a
non native format it will have to convert every object and the run the
reactor thousands of times.

You need to have one dvb file unload the reactor code before you save the
file.
0 Likes
Message 4 of 5

Anonymous
Not applicable
I've heard before that a good practice to do is....
every so often export all of the modules, forms, etc. and create a new blank dvb and import them. Can help reduce the compiled dvb size.
0 Likes
Message 5 of 5

Anonymous
Not applicable
i typically use the VBUNLOAD command to remove any dvb files after i'm done with them.
0 Likes