load vba, action, then unload -- how?

load vba, action, then unload -- how?

Joris.vd.Meulen
Collaborator Collaborator
470 Views
0 Replies
Message 1 of 1

load vba, action, then unload -- how?

Joris.vd.Meulen
Collaborator
Collaborator

Hello.

 

Version: autocad 2012

 

 

Due the installed vba enabler for 2012 saving a drawing becomes a real pain. Actually, the loaded vba's make the saving take so long.

So I thought: no automated vba's load upon start of autocad. And I'm going to reprogram my buttons in my cui.

 

Sadly I don't get it working. Your help is greatly appreciated!

 

Current button function: "^C^C^P(command "vbarun" "Teklist")(print)(PROMPT "SELECT")(PRINC) "

--> clicking the button: I select an attribute, something happens and the command is done.

 

What I want is roughly:

^C^C_vbaload;"T:/Vba/Teklyst1.dvb";

^C^C^P(command "vbarun" "Teklist")(print)(PROMPT "SELECT")(PRINC) "

^C^C_vbaunload;"T:/Vba/Teklyst1.dvb";

 

But now I don't get to opportunity to select an attribute.

 

Any thoughts??

love python coding
0 Likes
471 Views
0 Replies
Replies (0)