Poll

What does your AutoLisp programming directory look like?

One folder with many files/projects.
6 (50%)
A folder for each project.
6 (50%)

Total Members Voted: 12

Voting closed: February 09, 2020, 08:40:06 AM

Author Topic: What does your AutoLisp programming directory look like?  (Read 5304 times)

0 Members and 1 Guest are viewing this topic.

JohnK

  • Administrator
  • Seagull
  • Posts: 10623
Re: What does your AutoLisp programming directory look like?
« Reply #15 on: January 31, 2020, 10:37:34 AM »
One folder with many subfolders and files for each project. With git ;)
That's interesting. One git repo and many projects?
No. one repo for one project.
Oh! You're a subfolder person too. I get it, sorry. I misread your post.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

GDF

  • Water Moccasin
  • Posts: 2081
Re: What does your AutoLisp programming directory look like?
« Reply #16 on: January 31, 2020, 11:30:56 AM »
Many folders...
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64

VovKa

  • Water Moccasin
  • Posts: 1628
  • Ukraine
Re: What does your AutoLisp programming directory look like?
« Reply #17 on: January 31, 2020, 01:37:41 PM »
what is a 'project'?
Your daily job :)
easy to say. it'd be great if i could put my daily job in a 'Tycoon' folder  :wink:

VovKa

  • Water Moccasin
  • Posts: 1628
  • Ukraine
Re: What does your AutoLisp programming directory look like?
« Reply #18 on: January 31, 2020, 01:44:18 PM »
When you create a program to "Move all stuff to Layer X" (for example) you don't/didn't create a folder for that lisp file(s)?
no
i will append the function to LayersLib.lsp

i have around 20 lsp libraries
i compile them
i load all of them with every drawing

JohnK

  • Administrator
  • Seagull
  • Posts: 10623
Re: What does your AutoLisp programming directory look like?
« Reply #19 on: January 31, 2020, 03:04:42 PM »
When you create a program to "Move all stuff to Layer X" (for example) you don't/didn't create a folder for that lisp file(s)?
no
i will append the function to LayersLib.lsp

i have around 20 lsp libraries
i compile them
i load all of them with every drawing

Very interesting.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

BIGAL

  • Swamp Rat
  • Posts: 1407
  • 40 + years of using Autocad
Re: What does your AutoLisp programming directory look like?
« Reply #20 on: January 31, 2020, 08:45:28 PM »
Yes the trusted paths … un documented !

For me 40 years programming around 7 directories, plus a couple of temporary \compiled-client.

Re load them all by Vovka you can use Autoload function to load once command is typed, I use also (if (not xxx)(Load "correct lisp")) the xxx is defun name.

One directory has 116 lisps as a commercial product easier to maintain, written 30 years ago and keeps getting added to, need to join some to shrink that number but when you look at 30 year old code realise how wrong you did it then.
A man who never made a mistake never made anything

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2132
  • class keyThumper<T>:ILazy<T>
Re: What does your AutoLisp programming directory look like?
« Reply #21 on: January 31, 2020, 08:49:05 PM »
Folder for Shared Library files
Folder for each Project subdivided as needed.
All under Git

Then a test structure emulating the clients setup which represents deliverables.

but I haven't touched Lisp for a year or so.
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.