Hello everyone, new to the forums but I've searched it trying to find Bearings.LSP by Fred Bertagnolli. I recently learned he passed away, and was wondering if anyone could PM me the file, or point me in the right direction, as I can no longer contact him to retrieve it. I don't intend on using this for commercial purposes, if anyone was wondering.
Thanks for any help!
From what I can find that's an OLD Lisp. Probably 1997 of before. Even if you find a copy it may not run on a current version. It looks like people were having trouble running in on 2004.
If you let us know what version of which you are running and what you want to do with the Lisp. It's possible that we can point you to a way of accomplishing you goal without that particular Lisp.
Please include what program you're running, the version you're running and the specs of the computer you're running it on.
I'm currently attending college, and my AutoCAD teacher gave us Bearings.LSP to just get us used to seeing scripts in action I suppose, he told us that it didn't place to 4 decimal places, but only 2.
I was curious as to why so I tried to change the script but (I'm a python programmer, not used to all this AutoCAD programming and LSP stuff!) it seems that he's also tried to change the script and that's how it became like that. (Or so I'm guessing.) I was just curious as to what the original looked like without being tampered with.
Edit: Whoops! I forgot to say that I'm using AutoCAD Civil 3D 2011 Version 2
Windows 7 32-bit (College laptop, wish I could change to 64. Oh well.)
Intel Core i7-2620M 2.70GHz
8GB RAM (~3GB because 32bit)
nVIDIA QUADRO 1000M 3.2GB
Glad to see you have Civil 3D. Of course anything you would need to do with bearings can be accomplished in Civil without any Lisp. Although a minor level of customization makes some things easier.
I do doubt that you'll find someone with the original Lisp file at this late date. But you never know.
In the mean time you can ask questions about Lisp programming in the Visual LISP, AutoLISP and General Customization group. I used to do a bit of AutoLisp in the way-back. But most of what I want to do is now handled by the program. So now I just stick to writing a few macros.
Ah. Now we have the file, if your still interested, we can see that on line 101 of the file RTOS is used. That converts a Real number TO a String. The format is (rtos number [mode [precision] ] ). So in (RTOS DIST 2 2) the second 2 is the precision.
Thanks to terry.inniss for providing the file.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.