Jim Clayton Posted October 15, 2018 Posted October 15, 2018 So a while back I was hoarding cad information from our shared drives for a project. I was looking through one of the files and came across a folder full of Lisps. I didn't write them I have barely messed with them. I know nothing about them. I found them, they're Lisps, someone at my job a while back either wrote them or acquired them...that's all the information I have. They're yours for the taking if you want them. LISP1.zip Quote
Bill Tillman Posted October 15, 2018 Posted October 15, 2018 Be careful of code like this. LISP is not a very dangerous language, like C# or Python which can actually hit deep into the CPU. But there are things that LISP programs can do which will leave a computer in a mess if you're not careful. It's always best to err on the side of caution. Quote
tombu Posted October 15, 2018 Posted October 15, 2018 Really old! REVCLOUD.LSP (C) 1997 by Autodesk, Inc. your third newest one Autodesk replaced by a command many years ago along with all their old dialog box routines listed here. Pretty much worthless. Quote
Jim Clayton Posted October 16, 2018 Author Posted October 16, 2018 But it seemed so shiny at first glance...and it was in another folder entitled "Open This Folder For Guaranteed Greatness"... I've been lied to. ...yeah, like I said, no clue what was in it. Thanks for the heads up. Will file away accordingly. Quote
BIGAL Posted October 16, 2018 Posted October 16, 2018 Thats a lot to wade through really need a header in each one just saying what it does. Quote
Jim Clayton Posted October 16, 2018 Author Posted October 16, 2018 Unfortunately it looks they might be a bit dated and not of much use. Maybe I'll find another folder though, who knows. Doing some cleaning on my files. Quote
BIGAL Posted October 16, 2018 Posted October 16, 2018 Open each one up try to interpret what they do and add to a list then post the list here. Quote
ronjonp Posted October 16, 2018 Posted October 16, 2018 11 hours ago, BIGAL said: Open each one up try to interpret what they do and add to a list then post the list here. IMO, the OP's time would be better spent trying to learn how to write code for himself :). 2 Quote
Jim Clayton Posted October 16, 2018 Author Posted October 16, 2018 Well, there's definitely room for improvement...but it works. ;PASSIVE AGGRESSIVELY REPEATS COMMAND FROM FIRST POST; (defun c:pa (/ pt1 pt2) (command "._repeat") (prompt "\nI found them, they're Lisps, someone at my job a while back either wrote them or acquired them: ") (while (= (getvar "cmdactive") 1) (command pause)) (while (and (setq pt1 (getpoint "\nSpecify first point: ")) (setq pt2 (getpoint pt1 "\nSpecify second point: "))) (command "._line" pt1 pt2 "")) (command "._end") (princ)) Quote
ronjonp Posted October 16, 2018 Posted October 16, 2018 (edited) Gotta start somewhere next improvement try not to use command calls. Quote Command: END Discontinued command. Use the QUIT command to exit AutoCAD. Command: REPEAT Discontinued command. Edited October 16, 2018 by ronjonp 1 Quote
Jim Clayton Posted October 16, 2018 Author Posted October 16, 2018 Noted. Will add it to the list good sir. Quote
SLW210 Posted October 17, 2018 Posted October 17, 2018 Looks like a bunch of LISPs from CADALYST and old Autodesk LISPs. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.