Exchange Forum > Search Forums
Search Results
Search Results

Terry Cadd

AutoLISP and Visual LISP
Your favorite shortcut function
  F2T1P1#10  My favorite shortcut is DOF, double offset. It’s the first LISP function I wrote. It was initially created to speed up drawing hydraulic...
Useful AutoLISP functions
  F2T2P2#15  Here's a function that removes extra spaces in a string. If you have a shorter version please post it. ; Syntax example...
  F2T2P2#17  Gile, Very nice code. Here's another one I wrote a while back. FindReplace returns a string with the Find$ string replaced with the...
  F2T2P3#24  Here's a new one that I find very useful for running DOS and Windows applications while in an AutoLISP routine...
  F2T2P4#36  Hi Alumni, Your MidPt function got me thinking about how to improve on one of my functions. I use the polar function a lot to locate...
  F2T2P4#38  alanjt, Thanks for the compliment for my Coords function. I can't believe I hadn't thought of this idea before. It's such an easy method...
Routine to collect entities with a common Color
  F2T23P1#2  Gary, I think this is what you have in mind, if not just let me know. Terry (defun c:IC (/ Cnt# Color$ ColorNum# Colors@ Ctab$...
Rounding functions
  F2T35P1#5  Here are a few of my rounding functions that I've been using. ;------------------------------------------------------------------------------- ; RoundUp -...
  F2T35P1#10  I agree with Gile in that it's up to the program to pass valid arguments to these functions. I myself have never had a reason to round...
Dynamic block filter
  F2T40P1#5  Hi Gile, I just beta tested your dynamic block filter program and it's a very useful function. I like the way it works. Thanks, Terry...
Help joining polylines
  F2T47P2#12  Hi, I think that Alan's version may have worked on an earlier version of AutoCAD, but I could get it to work in AutoCAD 2010. Here is...
  JAL.lsp  
Update Search to include progress bar
  F2T49P1#2  Hi Koppesetic, Great suggestion! Those are two of my all time favorites. I added the progress bar to my personal copy also. I'm glad...
  SearchFiles.lsp   Search.dcl  
Help Fix Isolate Layers!
  F2T57P1#2  Theodorus, Sometimes it's easier for me just to write from scratch. Try this out. It should work on any version of AutoCAD. Best...
Help Fix FT.lsp (similar to Flatten in AutoCAD)
  F2T58P1#2  Theodorus, I had some issues with the AutoCAD version so I rewrote my version of Flatten. I also came across a shorter version that I...
  Flatten.lsp  
Looking for a Counter function
  F2T59P1#2  Hi RStiles, I'm not familar with the Counter function by Pat McDonald. Here is an Increment Counter function that may work for your...
  IC.lsp  
  F2T59P1#4  Rick, Oh, you mean "ICP", Increment Counter with a Prefix! Just a few extra lines of code. Regards, Terry...
  ICP.lsp  
Dwg to Bmp lisp file?
  F2T60P1#2  Hi Koppesetic, Give this little lisp a try. Do a zoom extents or zoom in on a detail. It captures the image of the current view. Regards...
  F2T60P1#4  Try using my Script Creator program SCRS, put (c:BMP) on one line by itself. And go... Regards, Terry...
  F2T60P1#6  Somehow I knew you were going to ask that. Well just have it cycle through the tabs. Here's a version that does just that. Terry...
Beta Testing Forum
PlotDwgs, a plot utility program
  F3T1P1#1  I have recently revised PlotDwgs to be easier to customize by other AutoCAD users and AutoCAD departments. This version utilizes...
  F3T1P1#3  Near the top of the AutoLISP file PlotDwgs.lsp there is the area that you will need to customize for your AutoCAD departments. The...
  F3T1P1#4  Lucianno, Here is the plot information that you supplied to me. Notice that the line ending with "\\\\servidor-01\\hp agrícola" is not...
  PlotDwgs.lsp  
  F3T1P1#6  Lucianno, Here is the basic code you will need to plot a folder of drawings. You will need to customize the commented lines in the...
  F3T1P1#7  Theodorus, Here is the information that you sent me. When you type (strcase (getvar "LOGINNAME")) on the command line does it...
  F3T1P1#10  Danneshi, Can you please attach you modified version of PlotDwgs.lsp so I can debug the code on my computer. It's hard to say...
  F3T1P2#12  Thanks for your quick reply. I'll take a look into it after lunch. Terry...
  F3T1P2#13  I found it! Look for the following lines: (setq Dcl_Id% (load_dialog "PlotDwgs.dcl")) (new_dialog "PlotDwgs.dcl" Dcl_Id%) Change...
  F3T1P2#16  Hi Danneshi, There has been some confusion about the dcl files "PlotDwgs.dcl" and "PlotDwgs .dcl". The second file has a...
  PlotDwgs.lsp  
  F3T1P2#20  Kaustubh, In the code you pasted into your post there is a [cons 'x] that should just be [cons x] with out the [']. Here's the version from...
  F3T1P3#22  Hi, Thanks for the text screen information for -plot. That is exactly what I need to help you configure your settings. I won't be able to...
  F3T1P3#24  Here it is at five something. Note that the names of the Oce Plotter-D and Oce Plotter-B for the Plotter$ / Plotter Display Name must...
  F3T1P3#26  Mine looks like the following. Let's see, did you add (load "PlotDwgs") to your AcadDoc.lsp or other AutoLISP file that loads your...
  F3T1P3#28  rchurch6, There is a short tutorial in AutoCAD help for "Using Visual LISP Debugging Tools". The one that I thing will help you is titled...
  F3T1P3#30  Hi Kakarot, I think you might need to use the metric version of PlotDwgs.lsp. The only thing that I noticed in your pdf version was that...
GetExcel for Excel and AutoCAD applications.
  F3T5P1#1  GetExcel is a general purpose function for (Excel to AutoCAD) and (AutoCAD to Excel) applications. Special credit to Gilles Chanteau...
  F3T5P1#4  The GetExcel.lsp file has been recently revised. I have added several sub-functions written by Gile including Cell-p, Row+n, and...
  F3T5P1#6  I am not familiar with the RAPORTS program. So I can't help you with that. Note in the following section of the code in GetExcel.lsp...
  F3T5P1#8  Danubiana, I hadn't considered CSV files for the GetExcel.lsp program so I didn't test it. This afternoon I decided to just try it and see...
  F3T5P1#10  Hi, Were you able to get it working at all, as per the few example lines I provided? As far as I recall, it only works on one open...
  F3T5P2#13  Jon, I'll take a look into it this afternoon. Do you want to include the attribute prompts, and are you wanting the attributes listed in...
  F3T5P2#15  Jon, The complete file with the required support functions is included as an attachment. You will also need to load GetExcel.lsp...
  DwgXls.lsp  
  F3T5P2#18  Here's an example of just getting all the information from cell A1 to E19. (GetExcel "C:\\Temp\\Temp.xls" "Sheet1" "E19") = Open...
  F3T5P3#22  Kyle, I've added a link to GetExcel.lsp on the first post in this thread. This link will always have the latest version of GetExcel.lsp. In...
  F3T5P3#26  Hi Gile, You have several valid topics that I will look into and implement into the code. When I tested c:XYZout without using the...
  F3T5P3#28  Gile, I’ve incorporated the revision per the GetExcel argument MaxRange$ to accept a nil and get the current region from cell A1...
  F3T5P4#31  Kyle, With the new version that Gile introduced all you need to do is put it in a repeat loop. Terry (defun c:XYZin (/ Row#) (GetExcel...
Vars function to find local variables
  F3T6P1#1  I have been using Multi-Edit since my first programming job. It can be used to edit many different programming languages. However, it...
  Vars.lsp  
  F3T6P1#3  Cricket, Thanks for testing my code. Here's a short function to demonstrate how to use the Vars function. Select and copy the...
  F3T6P1#5  Adesu, The Check Variables function is missing a few functions, but I was still able to tweak it to get it to run. It’s an interesting idea...
Dimension Polylines
  F3T8P1#1  Dimensioning Polylines is an idea that I had a while back, but I never got around to writing it until recently. It's similar to the Quick...
  DPL.lsp  
Dcl Dialogs
Sample create icon in dialog box
  F4T3P1#2  That's a very cool icon. It's looks very close to his avatar...
Preview in dialog
  F4T17P1#6  Hi spakis, I read your post and I may have a version that you can try out. This is something that I have been tweaking from a related...
  F4T17P1#9  Spakis, Thanks for the reply. But you know what? As far as a browser for AutoCAD drawings for my code, I still use this generic...
Menus and Customization
Games Menu
  F7T3P1#1  I don't want to take credit for this but here's a Games Menu by Adesu that I came across that is really cool. Give him all the credit...
AutoCAD Games
Play this ball
  F8T1P1#4  Adesu, You're teasing us with this ball. We can't pick it and get points. Can you make it bounce around the screen? Here is a...
  F8T1P1#5  Adesu, Here's another version of your bouncing ball for you to try. Terry (defun c:BBB (/ Ang Dia Dist Entity Extents@ Loop P1 P2 X...
Troy an Asteroids AutoLISP game
  F8T2P1#1  Here's a game for your break or whenever you just need to take a break from AutoCAD. Troy is an Asteroids AutoLISP game driven...
Display a number
  F8T6P1#2  Adesu, This one has some possibilities for other programs as well. Terry...
AutoCAD Screen Saver
  F8T11P1#1  Here’s a screen saver for AutoCAD. It draws the polylines on layer Defpoints by default, but you can customize it as you like. Enjoy!...
Tic-Tac-Dummy game
  F8T26P1#4  So that's what you and Felix were up to over the past couple of weeks. We all thought it was something really important. My only...
Fireworks Animation
  F8T28P1#1  Hi, There's a few of us that would like to see more games and animations added to the forum. AVLISP has added several great...
  FireWorks.lsp  
Clock Animation (grdraw)
  F8T29P1#2  Welcome qjchen, I really like the grdraw Clock Animation. It has some very useful examples for using the grdraw functions. Thanks...
Surface Bender
  F8T31P1#3  Avlisp, You've always got them gears going around in your head. Now is it OK if we run this function on our favorite co-workers...
3D Gallery Forum
Guitar design rendering
  F9T1P1#1  Here's a rendering of a guitar design that I did a while back...
Freeway crossing
  F9T4P1#2  That's a great animation! It must have taken a lot of work, to work out all the details. Good stuff!...