Author Topic: Another AutoLISP Book?  (Read 3271 times)

0 Members and 1 Guest are viewing this topic.

skatterbrainz

  • Guest
Another AutoLISP Book?
« on: December 07, 2017, 09:18:07 PM »
Just curious, so I'm asking anyone here:  Is there enough interest in AutoLISP/Visual LISP to write another book?  Is there enough new things since AutoCAD 2015 to add or change?  If you answered "yes" to either question, do you have suggestions, requests, complaints about the other books that have been published that could be addressed in a new book?  If it's not worth doing another one, that's fine, but I need your input to be the coin toss on this idea.

Thank you,
David Stein

JohnK

  • Administrator
  • Seagull
  • Posts: 10605
Re: Another AutoLISP Book?
« Reply #1 on: December 08, 2017, 07:08:12 AM »
Hello, Dave. Long time. How have you been?

I'm on the fence a little about the book, that may be a tough sell. Besides, I'm not even sure there is that much new with the language is there? I think a refresh might be better.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

skatterbrainz

  • Guest
Re: Another AutoLISP Book?
« Reply #2 on: December 10, 2017, 03:54:18 PM »
That makes sense. I'd be interested in hearing suggestions about what a refresh would need before it would be worth buying though.

MickD

  • King Gator
  • Posts: 3619
  • (x-in)->[process]->(y-out) ... simples!
Re: Another AutoLISP Book?
« Reply #3 on: December 10, 2017, 07:49:01 PM »
Hi David, nice to meet you :)

I don't do much AutoLisp and I haven't read your book/s but if you want to write something different I think there's plenty of scope for a 'what's next' type book.
That is, how to set up a larger projects, how to format your code, testing and other best practices. Maybe even things like writing lower level functions in C#/C++.

It's pretty easy to hack together some routines but pretty soon everyone hits that wall of spaghetti code but if you start off with a good strategy things are easier to maintain and extend.

Maybe it can be part of a rehash or a book in itself?
Either way, best of luck, cheers.
Mick
"Short cuts make long delays,' argued Pippin.”
J.R.R. Tolkien

skatterbrainz

  • Guest
Re: Another AutoLISP Book?
« Reply #4 on: December 11, 2017, 08:36:48 AM »
That is very helpful. Thank you!

skatterbrainz

  • Guest
Re: Another AutoLISP Book?
« Reply #5 on: December 13, 2017, 08:01:35 PM »
Well, as it turns out, I ran through the latest VLISP command reference online and compared with the 2011 edition of the book and there have been quite a few updates and changes to the language as well as AutoCAD objects/entities and properties/methods, etc.  So I think I will dive in and work on a 2018 edition.  I will also try to incorporate anything posted on this thread as best as I can.  Thank you!

David

cadd4la

  • Newt
  • Posts: 27
Re: Another AutoLISP Book?
« Reply #6 on: April 24, 2018, 03:49:38 PM »
David,

Do you have an ETA on when you will have the 2018 edition ready?

Thanks,
Windows 10 x64 - AutoCAD 2023

BIGAL

  • Swamp Rat
  • Posts: 1398
  • 40 + years of using Autocad
Re: Another AutoLISP Book?
« Reply #7 on: May 01, 2018, 05:05:58 AM »
One of things that is very evident is a chapter about using libraries nearly all books have 101 lisp programs but never talk much about using a properly set up library just repeating coding. Having  a look at some else's code they continuously repeated code so I rewrote it with defuns these all having a specific use so the next routine to be created could use those defuns also, the end product was something they do every day, but in different ways. Personally I have moved away from line after line questions enter L, enter W, enter H, to library user definable dcl's a 3 entry dcl with suggested values one click. It appears centre screen where your eyes are.

A lot of companies make a widget in variations hence the use of library functions.

Code: [Select]
(if (not AH:getval3)(load "getvals3"))
(ah:getval3 "Enter Horizontal scale " 5 4 "100" "Enter Vertical scale" 5 4 "50" "Enter number of decimal places" 5 4 "2")

A man who never made a mistake never made anything

d2010

  • Bull Frog
  • Posts: 323
Re: Another AutoLISP Book?
« Reply #8 on: May 02, 2018, 05:46:07 PM »
I think, you can use, the last version of vlaxcompil.. for new-book-vlisp-2018..
Downloading from...(see description)
https://youtu.be/jas3Skn7SuQ
-------------------------------------------------------------------
Just curious, so I'm asking anyone here:  Is there enough interest in AutoLISP/Visual LISP to write another book?  Is there enough new things since AutoCAD 2015 to add or change?  If you answered "yes" to either question, do you have suggestions, requests, complaints about the other books that have been published that could be addressed in a new book?  If it's not worth doing another one, that's fine, but I need your input to be the coin toss on this idea.

Thank you,
David Stein
« Last Edit: May 02, 2018, 05:49:27 PM by d2010 »

skatterbrainz

  • Guest
Re: Another AutoLISP Book?
« Reply #9 on: July 27, 2018, 04:13:07 PM »
I completely agree on the comments about managing code in libraries and all that goes with that.  That also overlaps things like team development, API modeling, and code management.  Not sure I want to expand a book that far.  I'm feeling less and less inclined to put a ton of time into another book.  It just doesn't seem like there's nearly as much interest or need for it as there was a few years ago, which makes sense.  Times change and tools change.

BIGAL

  • Swamp Rat
  • Posts: 1398
  • 40 + years of using Autocad
Re: Another AutoLISP Book?
« Reply #10 on: July 29, 2018, 03:03:10 AM »
One thing that may be worth looking at is not Autocad but maybe a suite on each extras like CIV3D, Electrical, Architectural etc. Just me personally I am still trying to complete a degree in CIV3d styles at times so complicated. I wrote a import description keys because it does not exist you can export but not import, as a Civil user the description keys are at the heart of starting any project converting field data. We have 250+ so it was a big task to setup. Rotating a Cogo point is just hard.

Please feel free to have  alook at this it replaces the Toolspace option for surface model display with toolbar iocns.

A man who never made a mistake never made anything

JohnK

  • Administrator
  • Seagull
  • Posts: 10605
Re: Another AutoLISP Book?
« Reply #11 on: July 29, 2018, 02:10:05 PM »
You guys know the you're talking to Dave Stein, right? He wrote the "Visual Lisp Bible".

BIGAL, I wrote an executable written in C to help with libraries called LiFP (Lisp File Preprocessor). You can find the executable/examples/instructions/tutorial here:
https://www.theswamp.org/index.php?topic=37700.0

skatterbrainz, I think there is still a need but I wonder if you start by just promoting your old book (seems like people forgot all about that wonderful resource) and see if you get some comments. We have a board for you to toss up a shameless plug. Try this link: https://www.theswamp.org/index.php?board=70.0
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org