Author Topic: using lisp command transparently  (Read 10860 times)

0 Members and 1 Guest are viewing this topic.

ScottMC

  • Newt
  • Posts: 191
Re: using lisp command transparently
« Reply #15 on: November 18, 2017, 07:06:19 PM »
How do I keep from adding 'SAA to APPLOAD to get it to operate immediately? I've added (vl-load-com) which helped some but still cancels the first working command with "Initializing... till I ESC it then it works.  that's me -->  :idiot2:

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2124
  • class keyThumper<T>:ILazy<T>
Re: using lisp command transparently
« Reply #16 on: November 18, 2017, 09:47:05 PM »
Hi Scott,

Not sure I understand your question exactly.

I load this sort of stuff from my menu.MNL file or from my ACAD.LSP file.
with something like
(load "kdub_snapto.LSP")


Are you trying to Autoload it ??
with something like
(autoload "kdub_snapto.LSP" '("SAA" "kdub:snapto"))

I'm not sure if that would work ... and don't have AutoCAD handy to test

Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.

ScottMC

  • Newt
  • Posts: 191
Re: using lisp command transparently
« Reply #17 on: June 10, 2019, 11:15:47 AM »
Sure .. long ago but going back thru these helpful routines has me feeling the obligation to comment [Thank] those involved in the work. Having now got my A2K working on my Windows 10 home, it's just great to be here making progress especially with y'all contributing to my class-time!! Thanks again!... More like "can smell the roast a cookin" How Sweet it is... Got kdub:snapto workin fine, just had it named wrong on my autoload https://www.theswamp.org/Smileys/black/uglystupid2.gif
« Last Edit: June 16, 2019, 11:41:06 PM by ScottMC »