paulmcz Posted October 20, 2021 Share Posted October 20, 2021 Does anyone here know if there is a way to autoload a lisp file with every drawing in Draftsight? Something similar to AutoCAD's acaddoc.lsp or Startup suite or some other way? Thanks Quote Link to comment Share on other sites More sharing options...
mhupp Posted October 20, 2021 Share Posted October 20, 2021 Might be a professional option. https://blog.draftsight.com/2016/09/08/draftsight-professional-lisp/ Quote Link to comment Share on other sites More sharing options...
paulmcz Posted October 20, 2021 Author Share Posted October 20, 2021 Thank you. I have read the article. It is about loading the lisp manually. The last response there asks the same autoload question but, unfortunately, it has not been answered. So, the autoload may not be possible in Draftsight. Quote Link to comment Share on other sites More sharing options...
mhupp Posted October 20, 2021 Share Posted October 20, 2021 Maybe create a button with the CUSTOMIZE command that runs a lisp that loads all other lisps. So at least its easy to load everything. Quote Link to comment Share on other sites More sharing options...
paulmcz Posted October 20, 2021 Author Share Posted October 20, 2021 That is a great idea but I don't need this for myself. I am trying to help somebody who uses the Draftsight only for minor annotation modifications. I am in contact with him only through Skype and it is not possible to persuade him to do what is shown in this very good video. If the procedure is not as simple as acaddoc.lsp or Startup Suite, there is no chance to help him with this. I tried with some other things a few times before. Teamviewer is also out of question. Thanks anyway. Quote Link to comment Share on other sites More sharing options...
mhupp Posted October 20, 2021 Share Posted October 20, 2021 19 minutes ago, paulmcz said: If the procedure is not as simple as acaddoc.lsp Check to see if you can load lisp by drag and dropping them. Then just load the acaddoc.lsp that way. Quote Link to comment Share on other sites More sharing options...
paulmcz Posted October 20, 2021 Author Share Posted October 20, 2021 I will try that. Thanks Quote Link to comment Share on other sites More sharing options...
paulmcz Posted October 20, 2021 Author Share Posted October 20, 2021 Drag and drop works just fine. It loads the lisp file. I am just a bit closer to help the man. I described what he has to do, then he did it himself and it looks like he doesn't mind this loading procedure. He was happy that it all worked. Great! Thank you. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted October 21, 2021 Share Posted October 21, 2021 (edited) 1st thing contact Drafsight if there like Bricscad they will get back to you very quickly. This is some comments about Bricscad, I am sure similar for Drafsight, there should be a Drafsight forum I would also ask there. Current Bricscad versions have a autoload option. Just another thought in the desktop icon there is the command line that does the work, under properties, in the case of Autocad there is the ability to add a run script on startup "/S mystartupscript" this scr could have (load "myautoload.lsp") as the script. You just copy and paste the icon if you want to try so keep original. Edited October 21, 2021 by BIGAL Quote Link to comment Share on other sites More sharing options...
paulmcz Posted October 21, 2021 Author Share Posted October 21, 2021 Excellent hint Bigal! But, I do not have Draftsight and my conversation with the person who is using it is very limited. He is not a draftsman and he doesn't want to be. I will try to find out if there is any "*.lsp" on his machine and where it is but that is going to be very difficult, I am sure. Then, I will try to make him to send me those files, if his search finds any, and I will take a look at what those files do. "autoload.lsp" sounds promising, if it exists there. Thanks Quote Link to comment Share on other sites More sharing options...
BIGAL Posted October 21, 2021 Share Posted October 21, 2021 The best thing you can do even for yourself is get a copy of "Everything" it is disk indexing software just blows explorer away type *.lsp at top and bang done, here they all are. I have indexed like 2tb drives. You need also to get the little add on ES.exe same site it allows you to use Everything from the command line but export out a file etc. es.exe *.dwg -full-path-and-name >d:/acadtemp/dwglist.txt this will find every dwg on multiple hard drives, export txt file to D:/acadtemp/dwglist.txt so just do *.lsp, you can do just Mydwg.dwg it will find that 1 dwg. You can do it inside Autocad using "Shell". Yeah explorer will find but for me like 2 cups of coffee 4500 lisp's. I dont understand why its so bad, maybe MS should buy Everything. Quote Link to comment Share on other sites More sharing options...
paulmcz Posted October 21, 2021 Author Share Posted October 21, 2021 I am using "Everything" for several years now and I agree, it is the best file search software ever created. But, seeing what is happening to Skype, I wouldn't like to see it in hands of MS. Quote Link to comment Share on other sites More sharing options...
MfgEng Posted December 13, 2022 Share Posted December 13, 2022 With DraftSight you can create a startup.lsp file. The file should be saved in your AppData/Roaming/DraftSight folder; my path looks like this: C:\Users\MyUserName\AppData\Roaming\DraftSight\startup.lsp The startup.lsp will be patterned like this; only place the lisp name in quotes (no extension): (load "yourFirstLisp") (load "yourSecondLisp") (load "yourThirdLisp") -MfgEng 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.