NghiaKieu Posted May 9, 2020 Posted May 9, 2020 When opening the drawing, the read-only dialog box appears and lisp is not working. Help me pls! My_Plot.LSP Quote
BIGAL Posted May 11, 2020 Posted May 11, 2020 You can check if a dwg has the attribute set to read only so can do the open with an extra yes. Just goggle check file attribute. 1 Quote
tombu Posted May 11, 2020 Posted May 11, 2020 You should have asked for help where you found the code posted by CafeJr, I'm not sure the my_plot portion of the code was written by Lee Mac. https://www.cadtutor.net/forum/topic/63153-batch-print-to-pdf/?do=findComment&comment=521059 1 Quote
NghiaKieu Posted May 11, 2020 Author Posted May 11, 2020 1 hour ago, BIGAL said: You can check if a dwg has the attribute set to read only so can do the open with an extra yes. Just goggle check file attribute. That drawing was opened by someone else, so when I opened it with lisp, a read-only dialog box was displayed and lisp couldn't work anymore. How can I run this lisp with read-only drawing when open? Thanks! Quote
NghiaKieu Posted May 11, 2020 Author Posted May 11, 2020 58 minutes ago, tombu said: You should have asked for help where you found the code posted by CafeJr, I'm not sure the my_plot portion of the code was written by Lee Mac. https://www.cadtutor.net/forum/topic/63153-batch-print-to-pdf/?do=findComment&comment=521059 The problem I want to help is how I run this lisp with read-only drawings that have been opened by others? Thanks! Quote
BIGAL Posted May 11, 2020 Posted May 11, 2020 (edited) If the dwg has a filename.dwl its open by someone else, but a warning if a dwg crashes the dwl can be left behind. So maybe a double check dwl and file att read only. Part of my file clean-ups was to delete dwl's can not delete one open. Edited May 11, 2020 by BIGAL 1 Quote
NghiaKieu Posted May 11, 2020 Author Posted May 11, 2020 1 hour ago, BIGAL said: If the dwg has a filename.dwl its open by someone else, but a warning if a dwg crashes the dwl can be left behind. So maybe a double check dwl and file att read only. Part of my file clean-ups was to delete dwl's can not delete one open. What if I have the drawing open but I run a this lisp from another drawing? Do I need to close it or create another drawing to run this lisp? Quote
BIGAL Posted May 12, 2020 Posted May 12, 2020 To auto plot a group of dwg's including one that is open even if it opens it will not be an updated version till you save or close. So close and run. 1 Quote
NghiaKieu Posted May 12, 2020 Author Posted May 12, 2020 49 minutes ago, BIGAL said: To auto plot a group of dwg's including one that is open even if it opens it will not be an updated version till you save or close. So close and run. Thank you for your help! 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.