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 5334 times)

0 Members and 1 Guest are viewing this topic.

JohnK

  • Administrator
  • Seagull
  • Posts: 10637
What does your AutoLisp programming directory look like?
« on: January 30, 2020, 07:07:50 PM »
Do you have a folder with a bunch of different projects/files in it or do you like a folder for each different project?

Please share a description of how your programming directory looks like.

This poll will run for 10 days.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

Jeff_M

  • King Gator
  • Posts: 4096
  • C3D user & customizer
Re: What does your AutoLisp programming directory look like?
« Reply #1 on: January 30, 2020, 07:47:27 PM »
You didn't include a "Both" option, John. I don't have many 'projects' per se, with many files. I do have separate folders for plain Acad, Civil 3D, & Land Desktop tools. But, within each of those folders are a multitude of files, most of which don't rely on any others. Now, if I were still actually coding in lisp and creating Dialogs, I would likely go with the folder per project option.

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8702
  • AKA Daniel
Re: What does your AutoLisp programming directory look like?
« Reply #2 on: January 30, 2020, 08:42:03 PM »
A folder for each project. I use a local SVN
D:/Dev/Projects/...

JohnK

  • Administrator
  • Seagull
  • Posts: 10637
Re: What does your AutoLisp programming directory look like?
« Reply #3 on: January 30, 2020, 09:22:40 PM »
... I use a local SVN
D:/Dev/Projects/...

*wow* SVN?! Now that's old-school!
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

JohnK

  • Administrator
  • Seagull
  • Posts: 10637
Re: What does your AutoLisp programming directory look like?
« Reply #4 on: January 30, 2020, 09:34:38 PM »
I use a folder per project.

~/programming/<language>/projects/tools/<project>
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8702
  • AKA Daniel
Re: What does your AutoLisp programming directory look like?
« Reply #5 on: January 30, 2020, 11:53:41 PM »
... I use a local SVN
D:/Dev/Projects/...

*wow* SVN?! Now that's old-school!

Been using it for years, no reason to change as it has all the features I need

JohnK

  • Administrator
  • Seagull
  • Posts: 10637
Re: What does your AutoLisp programming directory look like?
« Reply #6 on: January 31, 2020, 12:32:22 AM »
Can’t argue with that.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

kpblc

  • Bull Frog
  • Posts: 396
Re: What does your AutoLisp programming directory look like?
« Reply #7 on: January 31, 2020, 03:05:09 AM »
One folder with many subfolders and files for each project. With git ;)
Sorry for my English.

VovKa

  • Water Moccasin
  • Posts: 1631
  • Ukraine
Re: What does your AutoLisp programming directory look like?
« Reply #8 on: January 31, 2020, 05:23:49 AM »
what is a 'project'?

tombu

  • Bull Frog
  • Posts: 289
  • ByLayer=>Not0
Re: What does your AutoLisp programming directory look like?
« Reply #9 on: January 31, 2020, 07:07:42 AM »
Glad I wasn't the first to post who didn't know what a lisp project was. Do you need to put every folder in the SFSP and Trusted Locations? What's the purpose?

For Civil 3D it makes sense to keep drawings and associated files in a project folder, but this is the first I've ever heard of an AutoLisp programming directory.
Tom Beauford P.S.M.
Leon County FL Public Works - Windows 7 64 bit AutoCAD Civil 3D

kpblc

  • Bull Frog
  • Posts: 396
Re: What does your AutoLisp programming directory look like?
« Reply #10 on: January 31, 2020, 07:25:27 AM »
what is a 'project'?
Your daily job :)
Glad I wasn't the first to post who didn't know what a lisp project was. Do you need to put every folder in the SFSP and Trusted Locations? What's the purpose?
What for? Before loading lisp turn off secureload system variable, and restore it after loading codes.
Sorry for my English.

JohnK

  • Administrator
  • Seagull
  • Posts: 10637
Re: What does your AutoLisp programming directory look like?
« Reply #11 on: January 31, 2020, 09:20:26 AM »
what is a 'project'?

Glad I wasn't the first to post who didn't know what a lisp project was. Do you need to put every folder in the SFSP and Trusted Locations? What's the purpose?

For Civil 3D it makes sense to keep drawings and associated files in a project folder, but this is the first I've ever heard of an AutoLisp programming directory.

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)?
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

JohnK

  • Administrator
  • Seagull
  • Posts: 10637
Re: What does your AutoLisp programming directory look like?
« Reply #12 on: January 31, 2020, 09:21:54 AM »
One folder with many subfolders and files for each project. With git ;)
That's interesting. One git repo and many projects?
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

JohnK

  • Administrator
  • Seagull
  • Posts: 10637
Re: What does your AutoLisp programming directory look like?
« Reply #13 on: January 31, 2020, 09:38:10 AM »
Glad I wasn't the first to post who didn't know what a lisp project was. Do you need to put every folder in the SFSP and Trusted Locations? What's the purpose?
What for? Before loading lisp turn off secureload system variable, and restore it after loading codes.
I got out of AutoCAD and AutoLisp before trusted locations came about but apparently you can add an ellipsis after the path to include all sub-folders to the trusted locations.

Code: [Select]
C:\AutoLisp\Program\Directory\...
« Last Edit: January 31, 2020, 09:55:48 AM by John Kaul (Se7en) »
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

kpblc

  • Bull Frog
  • Posts: 396
Re: What does your AutoLisp programming directory look like?
« Reply #14 on: January 31, 2020, 10:31:36 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.
Sorry for my English.

JohnK

  • Administrator
  • Seagull
  • Posts: 10637
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: 1631
  • 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: 1631
  • 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: 10637
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: 1411
  • 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: 2139
  • 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.