theone Posted September 30, 2008 Posted September 30, 2008 Hi, first thank you all for helping me for clearing my doubts but now as I have completed my project, i facing a very simple yet a very important issue how to make it load when autoCAD Map statrs and run the program when command button is clicked any ideas how to...... I am using AutoCAD Map 2008 Quote
lpseifert Posted September 30, 2008 Posted September 30, 2008 Maybe put something similar to this in your acaddoc.lsp file (vl-load-com) (vl-vbaload "c:\\[color=Red]SAVEDIR[color=Black]\\[color=Red]FILENAME.dvb[/color]")[/color][/color] and on your command button (vl-vbarun "[color=Red]COMMANDNAME[/color]") Quote
rkmcswain Posted September 30, 2008 Posted September 30, 2008 See also, in the ACAD_DEV.CHM help file, the topic titled "Automatically Load and Execute VBA Projects" Quote
theone Posted October 8, 2008 Author Posted October 8, 2008 but i have done whole programming in vba not in visual lisp? Quote
-KarL- Posted October 8, 2008 Posted October 8, 2008 I think you can create an acad.dvb file that is loaded when autocad starts but I don't remember what folder it needs to be saved in. Quote
CmdrDuh Posted October 8, 2008 Posted October 8, 2008 ACAD.dvb just needs to be in the search path and it will autoload Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.