Jump to content

Recommended Posts

Posted

Thanks NBC,

 

Updated, but untested (I have never used Publish).

  • Replies 29
  • Created
  • Last Reply

Top Posters In This Topic

  • NBC

    12

  • Lee Mac

    9

  • lpseifert

    5

  • woodman78

    4

Posted

Almost there Lee, how do I modify it so that PlotReactorOn is on by default ?

Posted

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.

Posted

Either I'm doing something wrong, or that doesn't work woodman :(

Posted

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.

Posted
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))

Posted

Thanks ever so much Lee, that's just the ticket, you're a :star:

:thumbsup:

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

Posted
Thanks ever so much Lee, that's just the ticket, you're a :star:

:thumbsup:

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 :)

Posted

Whilst doing some research on it, I somehow came across persistent reactors.

Best I say no more about those though eh:wink:

Posted
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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...