This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (300 messages)
I'd love to see it. Could you mail it to me or post it in the forum library? With the DCL would be best, making it useful to more people. jrf
#132098-
#Dimension formatting
Message #132260
Jon: I have a program similar to what you describe and it is in "working" order. It combines DDEDIT, DDATTE, DDMODIFY, and it has a dialogue box for associative dimension editing. The base routine for dimension editing in the dialogue box came from DDE.LSP in the July 1993 CADalyst. It's…
Dave – Try something like this. (not tested, just typed out) (setq pt (getpoint "\nFrom pt: ")) (command ".pline" pt) ;leave the pline command unfinished (while (= (type pt) 'list) (setq pt (getpoint "\nTo pt: ")) (if (= (type pt) 'list)(command pt)) );while (command "cl") ;if you want to close…
#Pline create in ALISP??
Message #34518
Hi all. Is there anyway to use a (command "pline") in a LISP routine? I'm trying to write a routine that lets you enclose an architectural floor plan area with a PLINE, and then brings up a tag with the area (& other stuff). My idea was to create a…
WOW! Tony, this sounds like the Ticket! I'll be checking in daily. Thanks.. Dan
What does Slick 386 do in an ADS? –Jonathan.
Brian: Well, that's what AutoCAD on OS/2 did, using OS/2's DDE and Excel, I believe it was. I think you will see the same sort of thing for Windows. Or, you can go out and get a Unix box… C#
Brian – Yes, You can pass XLISP.EXE the name of a .LSP file, and it'll execute it without putting you into the interpreter's read-eval-print loop. It will also automatically execute a file called INIT.LSP if it is found. -TonyT.
Hey, TonyT! Let me know when you UL that file, it sounds like the ticket! Brian
I DLed the Xlisp to look at several, several months ago… I don't remember if you can pass the instruction file to the interpreter on the command line or not, similar to the GWBASIC FILE method (or even ACAD DWGNAME ). Brian
Bob – You can most easily download the latest version by browsing for it first, rather than trying to download directly from the library prompt. So, at the library prompt you would type "bro moment.lsp", and then press enter. The earlier file will display first. Press enter again, and the…
Dan – Ahhhh yes. XLISP 2.0 is a relatively more-robust subset of Common LISP, which is somewhat different from the LISP dialects that earlier versions of XLISP (and AutoLISP) are based on. For example, you won't find (while), (foreach) or (repeat) in XLISP, but you will find (do), (dolist), and…
#downloading
Message #34456
I'm trying to download a file "moment.lsp" from Lib. #2. There are two files named "moment.lsp" in that library and I can't seem to get the latest one. Could you tell me how to select the right one for downloading? Thand you. Bob
Siegemund – We're edging toward use of the Sun's ANSI C compiler ourselves, but even if we don't end up using it for Release 12, we should be able to supply an alternate version of the ads.a library that uses it. I'll spread the word in-house that this is needed.
Mark – Well, that's not a valid argument to (command). It looks like the programmer was trying to "Undo" the first leader segment, in which case, you should replace that expression with this one: (command ".dim" "lea" from to "u") -TonyT.
#SUN / ADS
Message #34449
Duff – If the ADS library for SUN Sparcstation doesn't work with the MetaWare Compiler, what about the SUN C 1.1 ANSI C Compiler? Are the libraries of the latter compatible to the ads library? And if this isn't so, is there any ANSI Compiler for AutoCAD on SUN Sparcstation?…
Brian – I've no feathers to ruffle . I've created plenty of DOS applications with XLISP. If you mean, can they "stand alone" without the XLISP interpreter, no they can't, but I can still use them anytime I want at a DOS prompt. Lisp Compilers are rather expensive, or at…
#LISP
Message #34439
Mike I downloaded XLISP from the AIEXPERT forum. It looks a little scarey, I don't see a whole lotta similarity between it and AutoLISP. I could not find GET functions, or the like either. Have you seen XLISP? And if so, is MuLISP more similar to AutoLISP than XLISP? Thanks…
[Continued] Perhaps I'm just dreaming, but I would like to see a system as powerful as AutoCAD evolve into a more interactive design tool, rather than primarily mimicing traditional drawing practices. There may be people already developing systems like this, although I haven't seen anything like it for architects. I…
#Linked Objects
Message #34416
I've been pondering a lot of options I would like to see in AutoCAD, but not being privy to the long-range goals I'll go ahead and ask them here. One feature which would be extremely helpful, and lead into some intelligent interaction between AutoCAD and architects (for instance) is a…
Ang: Oh NOOOOO!!!!! Larry
Duff – Aha. Thanks for the correction.
Rads
Message #34399
I am trying to learn to program in "C" on my own so there are many things I do not understand yet. My main problem is that I am trying to compile a program using Microsoft C 5.1 and I keep getting an error that states that it cannot find…
Hello Gary, In a related question, I would also like to use the Zortec C++ 3.0 compiler ( especially with their upgrade offer until the end of March ) to perform ADS programming tasks. According to Zortec's technical staff, I do not have to purchase the Phar Lap developement environment,…
Ah, but then again, I'm an architect! It's beaten into us in History classes…. Brian
Sorry, Tony, if I ruffled your feathers. My point was that although the Xlisp interpreter was fine to play around with, I don't think that it will be useful in creating stand-alone DOS applications, am I right? For this one would need a compiler. Part of the usefulness *I* found…
Thankyou gentlemen for all of the advice !, I will let you know how it all works out. I am basically trying to create a quality assurance checklist for the AutoCAD database. We have existing AutoCAD standards for our company and I am trying to create a routine to generate…
Jeff – That's a repeat of your original message, right? I saw that one, which is why I quoted your "dreaded 'bad entmod list'" in the first place. But your messages doesn't give me anything to work with in tracking down the problem or suggesting a remedy. If you were…
#^u in LISP?
Message #34363
Tony, I found this little routine on a PC running AutoCAD, and I can't understand what the ^u is doing in the file. There are two of them, here's one: ;FILE NAME: arrow.lsp ;========================================================== (defun C:ARROW () (setq *error* mherror) (savevars "CMDECHO") (setvar "CMDECHO" 0) (savevars "clayer") (makel "TEXT100") (setq…
Applause to your knowledge on history 🙂 –Chris
Daniel – I had the same idea and I found MuLISP by the SOFT WAREHOUSE in Honolulu. It is a complete lisp compiler. I have written a complete DOS shell for our company that has been in use for a couple of years. It allows the user to pick a…
Randy – No, there's no way to predict what the next handle will be. And, you can't rely on the assumption that they are allocated linearly or sequentially either. You would be putting yourself on thin ice if you did. I'm not sure why you need to put the handle…
#HANDLES
Message #34330
Does anyone know of a way to obtain the "next" entity handle which will be used in an AutoCAD drawing. I want to have an attribute in a block store the blocks entity handle. The only way I have found this is to insert the block with a "default" value…
Jeff – I think I responded to your first message on this, along with Duff. Did you receive it? Anyways, both Duff and myself asked you to provide a specific example, and you haven't done that. We see the (entmod) expression, but you cannot ask us to *guess* exactly where…
CHTEXT.LSP
Message #34320
SYSOP Still having problems with CHTEXT. I have yet to be able to change a text to a justification of Fit or Aligned. Maybe there's something wrong with my system, but every time I go to change to these justifications, the text shrivels up, moves over to the 1st insert…
Tony I've finished a lisp I've been working on, save for a way around getting the dreaded "Bad entmod list". I'm using "(setq a1 (list (assoc -1 var)(cons 39 pck)))" to change thickness of an entity (& 40 height, 41 width, etc.). I havent't been able to figure out a…
Duff I thought I did. Let's try it again: I've finished a lisp I've been working on, save for a way around getting the dreaded "Bad entmod list". I'm using "(setq a1 (list (assoc -1 var)(cons 39 pck)))" to change thickness of an entity (& 40 height, 41 width, etc.).…
Brian – I'm not sure I understand your point. I told Daniel that he could get LISP compilers for both DOS, and Windows. I also mentioned to him, that he could get a LISP interpreter over on AIEXPERT, for free. There are quite a few LISP compilers available, most of…
Mine varies a lot (since I'm in Florida, U.S. of A.)! Ah, Aachen… seat of Charlemagne, Karl der Groesse, Holy Roman Empire. I'm familiar with it. When we were in Germany on vacation in 1987, we wanted to visit Aachen and Trier, but since I had to see relatives in…
Tony, Isn't the XLisp in AIEXPERT an interpreter? Probably should use Borland or someone for a compiler — more useful, you know. Brian
Tony, Thanks for the reply. I will try to fix my file one last time, and if I still can't fix it I will send it to you. Thanks for the help. Tom
I'm sitting in Aachen (West) Germany near the Dutch and Belgian border, 50 Miles from Duesseldorf and Cologne, 130 miles from Brussels and 280 miles from Paris. I'm logging in via X.25 to a Tymnet Number in Frankfurt/Main (150 miles) (Your mileage may vary 🙂 –Chris
larry Thanks for the answer. Someone else suggested the same thing and it worked. jdm
Robert – You can get a LISP interpreter (and compiler I believe) for DOS and for Windows. You can also download David Betz's XLISP 2.0, from the AIEXPERT forum here on CompuServe (GO AIEXPERT). They also have a LISP section there complete with resident hard-core Common LISP and SCHEME freaks.…
Thomas – Something is causing the LOADING of ACAD.LSP to be terminated. It can also be a symbol conflict as well, where you are using the name that is assigned to one of the three routines somewhere else. If the file is not too large, and not proprietary, post it…
Thank you David. I have downloaded the ADSZTC.zip file in the ADS conference but it only mentions Phar-Lap support and not ZTC's own DOSX 32 bit dos extender. If that ADS file does support the DOSX, which I haven't tried, then all is well. I'll give it a try, but…
#LISP
Message #34198
Hello Is there a way that LISP programs can be Executed and run from DOS? Is this a practical way to program DOS applications? I have become well versed in AutoLISP and would rather stick with LISP programming for DOS if it is possable. ??? Thanks.. Dan
#loading acad.lsp problem
Message #34193
I am trying to use the file acad.lsp to load lisp routines. I have put 12 lisp routines in this file. Nine of them load, but 3 do not. I have cheched each routine they do work properly. The three which will not load from the acad.lsp file will load…
Jeff – You must manually examine all input that is destined for (entmod) (or just about any other AutoCAD operation), and validate it, to be sure that it is the proper type of data, an within the range that is accepted for whatever operation is using it. Without a more…
Phil – What you got was my opinion on nesting definitions. I can't be "right" or "wrong" on that, I don't think. I usually can spot the "stump the band" type of questions, and try to let someone else deal with them. I've made my share of mistakes, however. Down…
Page 1 of 6