Lee Mac Posted July 28, 2010 Posted July 28, 2010 Thanks NBC, Updated, but untested (I have never used Publish). Quote
NBC Posted July 29, 2010 Author Posted July 29, 2010 Almost there Lee, how do I modify it so that PlotReactorOn is on by default ? Quote
woodman78 Posted July 29, 2010 Posted July 29, 2010 NBC, You need to comment out the line with (defun c:*******) and the corresponding parenthesis at the end of the code or else you will get the error "extra right paren on input". Then when you autoload it in the acaddoc.lsp it will run on drawing startup. Quote
NBC Posted July 29, 2010 Author Posted July 29, 2010 Either I'm doing something wrong, or that doesn't work woodman Quote
woodman78 Posted July 29, 2010 Posted July 29, 2010 and have you set it up in the acaddoc as (load "plotreactoron" "plotreactoron.lsp failed to load"). That is the way I have set it up and it works fine. Quote
Lee Mac Posted July 29, 2010 Posted July 29, 2010 NBC, You need to comment out the line with (defun c:*******) and the corresponding parenthesis at the end of the code or else you will get the error "extra right paren on input". Then when you autoload it in the acaddoc.lsp it will run on drawing startup. Please don't do this ^^... NBC: Just load the code in the ACADDOC.lsp and after the load call, add (c:PlotReactorON) Hence we have something like: (load "PlotReactor.lsp" "Load Failed") (if c:PlotReactorON (c:PlotReactorON)) Quote
NBC Posted July 29, 2010 Author Posted July 29, 2010 Thanks ever so much Lee, that's just the ticket, you're a I'm still such a noob with all kinds of programming stuff, sorry for all the questions which have probably obvious-ish answers for you Quote
Lee Mac Posted July 29, 2010 Posted July 29, 2010 Thanks ever so much Lee, that's just the ticket, you're a I'm still such a noob with all kinds of programming stuff, sorry for all the questions which have probably obvious-ish answers for you Not a problem NBC, I enjoyed writing this one - it was a lot different to the mainstream functions that people ask for so it got me to think a bit Quote
NBC Posted July 30, 2010 Author Posted July 30, 2010 Whilst doing some research on it, I somehow came across persistent reactors. Best I say no more about those though eh:wink: Quote
Lee Mac Posted July 30, 2010 Posted July 30, 2010 Whilst doing some research on it, I somehow came across persistent reactors.Best I say no more about those though eh:wink: Tbh persistent reactors are best left alone - there isn't much you cannot do with transient reactors. 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.