load vba, action, then unload -- how?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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??