aaryan Posted June 11, 2014 Share Posted June 11, 2014 Dear Members, I have wrote some routine in AutoLISP/ VisualLISP. I would like to distribute it to my colleagues in a form of setup. I humbly request to please share some code in vb/c# .net which contains this AutoLISP syntax (progn (vl-load-com) (vl-load-all "lisppath")) After which I will be trying to make a setup file which will add registry values for the above assembly for demand loading at startup which will load the lisp file. Since my company has old versions too like 2008-2009 I cannot use AutoLoader. Require just a simple code that once I netload it, it should load the lisp file based on the supplied path. Any help would be highly appreciated. Best Regards Quote Link to comment Share on other sites More sharing options...
BIGAL Posted June 12, 2014 Share Posted June 12, 2014 Pretty sure ACADDOC.lsp or Acad.mnl has been around way before 2008 these will auto load if in you search path. Just add your code. Will ignore .net code as its part of normal Autocad startup. Quote Link to comment Share on other sites More sharing options...
aaryan Posted June 12, 2014 Author Share Posted June 12, 2014 Thanks for your reply. Is it possible to edit ACADDOC.lsp file or Acad.mnl file through setup programs like installshield?? Searched on google doesn't find any solution. Regards Quote Link to comment Share on other sites More sharing options...
BIGAL Posted June 12, 2014 Share Posted June 12, 2014 You make the changes to Acadoc.lsp, the only way around may be to use a simple OLD DOS command copy file1+file2 to file3 where file1 is acaddoc.lsp and file2 is your lisp file say acaddoc.lsp in another directory. Quote Link to comment Share on other sites More sharing options...
aaryan Posted June 12, 2014 Author Share Posted June 12, 2014 Thank You So Much. Quote Link to comment Share on other sites More sharing options...
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.