Share Your Favorite usefull LISP files

Share Your Favorite usefull LISP files

Anonymous
Not applicable
44,902 Views
55 Replies
Message 1 of 56

Share Your Favorite usefull LISP files

Anonymous
Not applicable

Share Your Favorite Lisp files and Customization to helpful others.

 

thanks,

44,903 Views
55 Replies
Replies (55)
Message 41 of 56

duynhat151092
Participant
Participant

Some of my free applications listed in the following link to my website:

 

https://www.thietketudien.com/ph%E1%BA%A7n-m%E1%BB%81m/autolisp

0 Likes
Message 42 of 56

CliffordLMX2M
Explorer
Explorer

These are LISP from the great LEE MAC and some with the help of ChatGPT. Kinda new to creation of LISP but find these very useful. Please watch video as to get the full use out of these there is a little setup to do. As in views and layouts.

CliffordLMX2M_0-1729188231931.png

 

0 Likes
Message 43 of 56

DGCSCAD
Collaborator
Collaborator

Here's a short yet useful utility I use to get DXF lists:

 

(foreach n (entget (car (entsel))) (print n))

 

...along with Lee Macs Dumpit.lsp, there's no safe place for my entities to hide.  I'll get your info... and your little dog too.

 

/cackle

AutoCad 2018 (full)
Win 11 Pro
Message 44 of 56

georgeh4B6C4
Participant
Participant

@Sea-Haven would this still be available by any chance ? 
I've reviewed and shortlisted a number of these but haven't been able to get any pm or email out. 

0 Likes
Message 45 of 56

Sea-Haven
Mentor
Mentor

What post are you talking about?

0 Likes
Message 46 of 56

georgeh4B6C4
Participant
Participant

@Sea-Haven 

 

Sorry for the mix up. These were the comments/posts I was referring, 18&25/ 45 

 

 

 

 

0 Likes
Message 47 of 56

jjm381
Observer
Observer

What do these lsp do?

0 Likes
Message 48 of 56

jjm381
Observer
Observer

?

0 Likes
Message 49 of 56

LDShaw
Collaborator
Collaborator

Is this what you're looking for? 

 

;; Program: AutoDimension Polylines
;;
;; Description:
;; This AutoLISP program automates the process of creating dimensions along polylines in AutoCAD.
;; - Draws dimensions from vertex to vertex for selected polylines or lines.
;; - Adds arc length dimensions for arc segments where applicable.
;; - Provides an options menu to configure dimension positioning (e.g., above/below line, inside/outside arc).
;;
;; Features:
;; 1. Automatically detects line and arc segments in selected polylines.
;; 2. Positions dimensions dynamically based on user-defined options.
;; 3. Uses the current DIMSTYLE settings for consistency with the drawing standards.
;;
;; Commands:
;; C:AD  - Main command to run the dimensioning process.
;; Options are configurable via a dialog box accessed during runtime.
;;
;; Author: Stefan M.


;;AD-Automatic Dimension Autocad.LSP
;; Created: 10.11.2015
;; Website: KimProjects.com
;;
;; Notes:
;; - Ensure appropriate DIMSTYLE is active before running the program.
;; - Works on LWPOLYLINE, LINE, and ARC entities.
;;
;; Disclaimer:
;; This program is provided "as-is" without warranty of any kind.
;; Users are responsible for verifying dimensions before finalizing drawings.
;;ANUMBER.LSP
;; Program: Incremental Number Placement
;;
;; Description:
;; This AutoLISP program places incrementing numbers as text at selected points in an AutoCAD drawing.
;; - The user specifies the starting number.
;; - The program allows placing text at multiple points, each showing the next incremented number.
;; - Numbers are placed using the current text settings in the drawing.
;;
;; Features:
;; 1. User-defined starting number.
;; 2. Interactive point selection for text placement.
;; 3. Automatic incrementation after each placement.
;;
;; Commands:
;; C:ANUMBER  - Main command to start placing incrementing numbers interactively.
;;
;; Notes:
;; - The program runs in an infinite loop. Use the "Esc" key to exit.
;; - Ensure appropriate text style and size are set in AutoCAD before running the program.
;;
;; Disclaimer:
;; This program is provided "as-is" without warranty of any kind.
;; Users are responsible for verifying the placed text and ensuring correct placement.
;;CAD14.LSP
;; Program: Custom AutoCAD Utilities
;;
;; Description:
;; This AutoLISP script contains a set of custom commands designed to improve efficiency in AutoCAD. 
;; Each command focuses on a specific task, such as zooming, layer management, dimensioning, and object manipulation.
;;
;; Commands and Descriptions:
;; - **C:ZW**: Zoom Window - Zooms to a specified rectangular window.
;; - **C:ZE**: Zoom Extents - Zooms to display the entire drawing.
;; - **C:ZA**: Zoom All - Zooms to show the drawing limits and extents.
;; - **C:ZC**: Zoom Center - Zooms to a center point with a specified magnification.
;; - **C:ZP**: Zoom Previous - Returns to the previous zoom level.
;; - **C:ZD**: Zoom Dynamic - Zooms dynamically using an interactive preview.
;; - **C:Z9, C:Z8, C:Z7, C:Z6, C:Z5**: Custom zoom commands for specific scales.
;; - **C:ONL**: Turn All Layers On - Enables all layers in the drawing.
;; - **C:TH**: Thaw All Layers - Thaws all frozen layers.
;; - **C:OA**: Turn On All Layers - Turns on every layer in the drawing.
;; - **C:OFL**: Turn Off All Layers - Turns off every layer in the drawing.
;; - **C:ON**: Isolate Layer - Turns off all layers except the layer of a selected object.
;; - **C:SLA**: Match Layer - Sets the current layer to match a selected object's layer.
;; - **C:FRZ**: Freeze Layers - Freezes multiple selected layers.
;; - **C:DH**: Dimension Horizontal - Creates a horizontal dimension.
;; - **C:DV**: Dimension Vertical - Creates a vertical dimension.
;; - **C:DA**: Dimension Angular - Creates an angular dimension.
;; - **C:UPD**: Update Dimensions - Updates all dimensions to reflect current styles.
;; - **C:STA**: Dimension Status - Displays the current status of dimensions.
;; - **C:UCA**: UCS Align - Aligns UCS with a selected object.
;; - **C:UCW**: UCS World - Restores the UCS to World Coordinate System.
;; - **C:UCSR**: UCS Restore - Restores a saved UCS.
;; - **C:UI**: Toggle UCS Icon - Shows or hides the UCS icon.
;; - **C:VPT**: Viewports - Restores the previous viewport configuration.
;; - **C:VPT1**: Single Viewport - Switches to a single viewport layout.
;; - **C:VPT4**: Four Viewports - Switches to a four-view layout.
;; - **C:ML, C:MC, C:MW, C:MP**: Move by Last, Center, Window, or Previous selection.
;; - **C:COL, C:COC, C:COW, C:COP**: Copy by Last, Center, Window, or Previous selection.
;; - **C:CL, C:CC, C:CW, C:CPP**: Change properties of selected entities (Last, Center, Window, or Previous).
;; - **C:LEN**: Measure Length - Calculates and displays the length of a selected line or polyline.
;; - **C:LN**: Show Layer - Displays the layer of a selected object.
;; - **C:ALT**: Auto Trim - Trims entities to selected edges based on a picked side.
;; - **C:XT**: Boundary Edit - Adjusts entities to snap to an intersecting boundary edge.
;; - **C:CSS**: Change String - Batch replace a substring in multiple text objects.
;; - **C:ETEXT**: Edit Text - Modify text properties (style, height, or value) interactively.
;; - **C:LT300, C:LT200, ... , C:LT10**: Set Linetype Scale - Changes linetype scale to preset values.
;;
;; Notes:
;; - This script introduces custom zoom, dimension, and layer utilities for common tasks.
;; - Ensure your text styles, UCS, and layers are appropriately set before using these commands.
;;
;; Disclaimer:
;; This program is provided "as-is" without warranty of any kind.
;; Users are responsible for verifying changes and ensuring the accuracy of their drawings.

 


You just have to love AI sometimes



0 Likes
Message 50 of 56

Rahul_Banerjee
Explorer
Explorer
XYZ - Both DCL and LSP file working correctly on my AutoCAD. Thank You. Can you provide more ?
0 Likes
Message 51 of 56

Jonathan3891
Advisor
Advisor

@Rahul_Banerjee wrote:
XYZ - Both DCL and LSP file working correctly on my AutoCAD. Thank You. Can you provide more ?

Provide more what?


Jonathan Norton
Blog | Linkedin
0 Likes
Message 52 of 56

bfalconr
Contributor
Contributor

hello evey one, I wonder if you have a lsip to toggle dim extension lines on and off from selected dimensions

Kind regards,

Bruno Falcon

0 Likes
Message 53 of 56

Kent1Cooper
Consultant
Consultant

@bfalconr wrote:

... a lsip to toggle dim extension lines on and off from selected dimensions...


See the third attachment at Message 5.

Kent Cooper, AIA
0 Likes
Message 54 of 56

bfalconr
Contributor
Contributor

Kent Cooper, thank you the DET works perfect when selecting one end of a placed dimension, I wonder if you have one that allow us to select one or multiple placed dimensions and turn on and off both extension lines,

Kind regards,

Bruno Falcon

0 Likes
Message 55 of 56

Kent1Cooper
Consultant
Consultant

You can do that in the Properties palette for as many as you want all at once.  But that could be automated -- later.  But I don't think it can be a pure toggle -- there would need to be one command to turn them on and another off, because you might select multiple Dimensions that have different suppression combinations from each other.

Kent Cooper, AIA
0 Likes
Message 56 of 56

timothy_crouse
Collaborator
Collaborator

Here are a couple of things folks may find useful

 

CLN is used to clean up your drawing

LLM Length List Multi - Used to get total lengths, results shown in dialog and or sent to clipboard.

 

 

LLM Updated to v1.79 Aug 05, 2025

Best Regards

-Tim C.