TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: ronjonp on June 09, 2009, 01:31:54 PM

Title: ADS Undocumented Lisp Function?
Post by: ronjonp on June 09, 2009, 01:31:54 PM
I accidentally typed this in the vlide and it appears to be a function....anyone know anything about it?

Thanks,

Ron
Title: Re: ADS Undocumented Lisp Function?
Post by: Spike Wilbury on June 09, 2009, 01:43:37 PM
?
Title: Re: ADS Undocumented Lisp Function?
Post by: ronjonp on June 09, 2009, 01:47:35 PM
I accidentally typed this in the vlide and it appears to be a function....anyone know anything about it?

Thanks,

Ron

It is not in my help file???
Title: Re: ADS Undocumented Lisp Function?
Post by: Spike Wilbury on June 09, 2009, 02:15:18 PM
that (if I recall) was documented.... many moons ago and it was used in something like this:

Code: [Select]
;; carga una aplicacion
(defun appload (app / ext app1)
  (setq ext  (strcase (vl-filename-extension app))
app1 (strcase (vl-filename-base app)))
  (if (or (= ext ".EXE") (= ext ".EXP"))
    (if
      (vl-some
'(lambda (afn) (= (strcase (vl-filename-base afn)) app1))
(ads))
       T
       (xload app nil))
    (if
      (vl-some
'(lambda (afn) (= (strcase (vl-filename-base afn)) app1))
(arx))
       T
       (arxload app nil))))
Title: Re: ADS Undocumented Lisp Function?
Post by: ronjonp on June 09, 2009, 02:19:25 PM
Thanks Luis.  :-)
Title: Re: ADS Undocumented Lisp Function?
Post by: Lee Mac on June 09, 2009, 04:58:09 PM
There are quite a few that are "undocumented" actually - if you type:

Code: [Select]
(atoms-family 0)

You'll see a list of about 3125 functions...
Title: Re: ADS Undocumented Lisp Function?
Post by: MP on June 09, 2009, 04:59:23 PM
There are quite a few that are "undocumented" actually - if you type:

Code: [Select]
(atoms-family 0)
You'll see a list of about 3125 functions...

Enjoy: http://www.theswamp.org/swamp.files/Public/atoms15.zip
Title: Re: ADS Undocumented Lisp Function?
Post by: Lee Mac on June 09, 2009, 05:06:59 PM
Outstanding Michael - I love the way the "About" dialog has an animation too... how did you achieve this?

Title: Re: ADS Undocumented Lisp Function?
Post by: MP on June 09, 2009, 05:14:06 PM
Outstanding Michael - I love the way the "About" dialog has an animation too... how did you achieve this?

Thanks Lee. To be honest I'd have to revisit the code (would have to find it first), I wrote the original over a decade ago and there's just been too many miles. (http://www.theswamp.org/screens/mp/facepalm.gif) Having said that, it was so easy even I could do it. :)
Title: Re: ADS Undocumented Lisp Function?
Post by: T.Willey on June 09, 2009, 05:24:17 PM
Outstanding Michael - I love the way the "About" dialog has an animation too... how did you achieve this?

Thanks Lee. To be honest I'd have to revisit the code (would have to find it first), I wrote the original over a decade ago and there's just been too many miles. (http://www.theswamp.org/screens/mp/facepalm.gif) Having said that, it was so easy even I could do it. :)

Here is how I did one, which the help of Michael ofcourse.

[ http://www.theswamp.org/index.php?topic=8163.0 ]
Title: Re: ADS Undocumented Lisp Function?
Post by: MP on June 09, 2009, 05:32:09 PM
PS: I was only talking about the animated about dialog.
Title: Re: ADS Undocumented Lisp Function?
Post by: T.Willey on June 09, 2009, 05:33:26 PM
PS: I was only talking about the animated about dialog.

Oh...  :oops: :cry:
Title: Re: ADS Undocumented Lisp Function?
Post by: MP on June 09, 2009, 05:34:38 PM
Oh...  :oops: :cry:

good info is still good info :)
Title: Re: ADS Undocumented Lisp Function?
Post by: kdub_nz on June 09, 2009, 05:56:02 PM
There are quite a few that are "undocumented" actually - if you type:

Code: [Select]
(atoms-family 0)
You'll see a list of about 3125 functions...

Enjoy: http://www.theswamp.org/swamp.files/Public/atoms15.zip

I seem to recall there being an Atoms16 version somewhere ??
Title: Re: ADS Undocumented Lisp Function?
Post by: MP on June 09, 2009, 06:13:34 PM
I seem to recall there being an Atoms16 version somewhere ??

Hmmm, I think I left it with my teeth somewhere.
Title: Re: ADS Undocumented Lisp Function?
Post by: Lee Mac on June 09, 2009, 06:13:55 PM
Wow Michael - hats off to you  8-)

http://www.theswamp.org/index.php?topic=5185.msg62997#msg62997 (http://www.theswamp.org/index.php?topic=5185.msg62997#msg62997)
Title: Re: ADS Undocumented Lisp Function?
Post by: MP on June 09, 2009, 06:21:11 PM
Wow Michael - hats off to you  8-)

http://www.theswamp.org/index.php?topic=5185.msg62997#msg62997 (http://www.theswamp.org/index.php?topic=5185.msg62997#msg62997)

Thank ya sir. I always forget about that one because I never use it; true. :-D