Author Topic: Question 30 goes here  (Read 36470 times)

0 Members and 1 Guest are viewing this topic.

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Question 30 goes here
« on: September 16, 2005, 01:21:39 PM »
Quote from: LE
How to load a routine without having it being part of a acaddoc.lsp, acad.lsp, not inside of the suite, not part of any startup, not even being saved inside of any support folder of autocad.

The routine will be loaded only if exist and still is inside of the original folder location, the user will need to load the routine from there, called or not the routine command and after that, save it, and the next time the drawing session is open it will call the routine to be loaded.

How do you enable that?
TheSwamp.org  (serving the CAD community since 2003)

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Question 30 goes here
« Reply #1 on: September 16, 2005, 01:37:44 PM »
Not sure if I fully comprehend the question, but it sounds to me like a round about way of referring to mnl files.

/guess
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

LE

  • Guest
Re: Question 30 goes here
« Reply #2 on: September 16, 2005, 01:41:32 PM »
Not sure if I fully comprehend the question, but it sounds to me like a round about way of referring to mnl files.

/guess

Not even inside of an MNL

Here are the steps:

1. Load the routine from any where
2. Saved the drawing
3. Open that drawing and the routine is available, without being load from any other means just by itself...

And no reactors too.

HTH

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Question 30 goes here
« Reply #3 on: September 16, 2005, 01:44:23 PM »
Ah, you mean persistant reactors (evil). Thanks for the hints.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

deegeecees

  • Guest
Re: Question 30 goes here
« Reply #4 on: September 16, 2005, 01:44:33 PM »
Well, when somebody DOES answer this one, I may change the way I do things around here.

Edit: I did see that in the Dev. Help files a while back, but never persued it. I have thought of some apps that will make use of something like this. I think I'll persue this now.  :ugly:

Re-edit: OK, no persistant reactors, check.  :oops:
« Last Edit: September 16, 2005, 01:50:07 PM by deegeecees »

LE

  • Guest
Re: Question 30 goes here
« Reply #5 on: September 16, 2005, 01:46:46 PM »
Ah, you mean persistant reactors (evil). Thanks for the hints.

No persistant reactors too...

Just by itself... on every drawing the routine was used.....

whdjr

  • Guest
Re: Question 30 goes here
« Reply #6 on: September 16, 2005, 01:47:33 PM »
Well number one is easy just include the entire path in the load statement.

(load "Y:\\Common\\AUTOLISP\\ad.lsp)

Getting it to reload is trickier if you don't add it any of the files you mentioned.

Or is there a secret sysvar we haven't heard about yet. :pissed:

LE

  • Guest
Re: Question 30 goes here
« Reply #7 on: September 16, 2005, 01:49:55 PM »
Well number one is easy just include the entire path in the load statement.

(load "Y:\\Common\\AUTOLISP\\ad.lsp)

Getting it to reload is trickier if you don't add it any of the files you mentioned.

Or is there a secret sysvar we haven't heard about yet. :pissed:

No.... nothing that has to do with any normal way we all know, it is a secret way... that is why the question.... hehe

whdjr

  • Guest
Re: Question 30 goes here
« Reply #8 on: September 16, 2005, 01:50:35 PM »
How about via a script file? :realmad:

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Question 30 goes here
« Reply #9 on: September 16, 2005, 01:51:04 PM »
Well lol, I think you've a dandy of a question 'cause I dunno.

:-D
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

whdjr

  • Guest
Re: Question 30 goes here
« Reply #10 on: September 16, 2005, 01:54:16 PM »
I GOT IT!!! :mrgreen:

How about loading it via a field in a drawing.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Question 30 goes here
« Reply #11 on: September 16, 2005, 01:54:22 PM »
Hey Luis wait awhile before posting the answer, we've some friends that are probably into rem sleep right now that would likely enjoy anteing up an answer.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

LE

  • Guest
Re: Question 30 goes here
« Reply #12 on: September 16, 2005, 01:54:52 PM »
How about via a script file? :realmad:

That is a normal way.... is something else.... and it is very efective, the only condition is that the drawing would look if the routine was loaded and tried to call it, every time the drawing session is opened... and of course if the routine file exists... if not if will simple show a message, saying something.... hehe

deegeecees

  • Guest
Re: Question 30 goes here
« Reply #13 on: September 16, 2005, 01:56:43 PM »
Yous hadn't awta upset the Don. Make good wit da ansa or Rocko n da boyz are gonna hafta do reconstructive surgery on ya kneecaps  :pissed: :pissed: :pissed: :pissed: :pissed: :pissed: :pissed: :pissed: :pissed:

whdjr

  • Guest
Re: Question 30 goes here
« Reply #14 on: September 16, 2005, 01:57:21 PM »
Hey Luis wait awhile before posting the answer, we've some friends that are probably into rem sleep right now that would likely enjoy anteing up an answer.

If you don't want to post it yet that's fine but if I am close please PM me.  If I am way off base then don't worry about it.