Questions from beginner to advanced. Tell us about good sources of free lisp and post your own routines for testing.Code posting guidelines
The "AutoLISP, VBA, the CUI & Customisation" forum has become a very lively part of the AutoCAD Forums and probably needs a structural review in order to acommodate growth in the future. I'm...
Code posting guidelines
When you are posting AutoLISP or VBA code in these forums, there are some simple guidellines you should observe in order to make life easier for you and for others.
I have a ploblem to count a many attributes in cad.
I have a rectangula duct with Height x Weight x Length.
I want a lisp count Attributes with couple include: "Height x...
hope that someone can help me with my request.
I want to draw a polyline over circle using 4 parameters.
Basically the user should specify the center of the circle (1) , the radius...
I've wrote the following routine, that creates 2 polygons
(defun c:fuste3d (/ pin altura dsup dinf nlados esp e2)
(setq pin (getpoint "\nPonto de introducao: "))
(setq dinf (getint "\nDiametro...
Does anyone know a routine that enables provide real-time the sum of areas of rectangles as you draw consecutively?
I have a list with sub lists each containing 18 elements. When the sublists are many say 25, the formation of table take about 20 seconds with the following code:
(setq row 2)
I am having some problems with my lisp routine code. The goal is to pick two points and have an xline generated perpendicular to the angle between points, positioned based on a few...
How to convert my drawings from X-Y to X-Z by Lisp? please help.
Hello, I found this awesome Lisp by Lee Mac, I use it frequently, I just can't seem to pinpoint where i can change the source layer selection to a layer of my choice.
Basically, I don't wish to...
I need a lisp to rename the current open file. I already have a routine that takes the current file name and creates a string with the new file name (Just six numbers in the old name...
i am new to this site, any lisp program for Points Inserts at each intersection of Lines & at End of lines?
here i have attached sample drawing.please provide lisp.
Long time no pester!!
I'm looking for a "easier" way of changing specific dimensions to read "right-to-left" and be positioned "below" the dim line.
Due to mvsetup, when rotating...
dears i have file have problem in (z) direction its 2d file every time i adjust the objects like lines , dimension to be on level 0 for all some of those objects going random levels kindly to help...
I've incorporated and created many LISP functions for surveying purposes in AutoCAD. I've been wanting to share them, so here goes.
A lot of the functions reference other functions. I've used the...
I just got some survey data with polylines at elevations like 789.9999 and 762.0001 (as well as some clean 0000). If they all were .0001 off in the same direction, I would just do a Z move, but since...
For scaling purposes i tweaked a routine to let me scale a selectionset in Z direction.
Works good, but the disadvantage is that it will not work in 'Refedit mode'.
Since in 3D i a lot of...
I'm trying to use the LM:writecsv function to export data from blocks to a csv file.
I have made a lisp that selects all the blocks and I'm able to generate a list that has the data I need....
I need to bisect a line and draw a line perpendicular from mid point and with user defined length using AUTO LISP routine? Your help is very much appreciated.
I want to create a LISP routine that can automate some of the commands I am using very often.
I have a triangle (closed polyline, A) and I want to get all the things from C.
I have a LISP code that was running perfect in Autocad 2012.
Now I've changed to Autocad 2016 and my LISP is not working like it supposed to.
What is the LISP for:
I need to make data...
I am looking for a routine which can find a specific block in a drawing and if there are more blocks with the same name to delete all except one.
I am running a lisp over...
i need changes in Notepad output file by Lisp program modification. with help of my lisp produced as attached file (File Name is Actual lisp format X coordinates) and i need the...
That can add a perpendicular line and the text for the distance along a polyline at intervals that i can change. ie 100m or 1km etc (something like the pdf attached).
Anyone any ideas where i can...
DOES ANYONE HAVE A QUICK AND EASY WAY TO REPLACE A SELECTED BLOCK. ALSO IS THERE A WAY TO REPLACE MULTIPLE SLECTED BLOCKS AND REPLACE WITH A DIFFERENT BLOCK TYPICAL FOR ALL THE BLOCKS THAT ARE...
I have a series of lines connected from end to end. I want to do two things:
1) Place a text giving the length of the line on perpendicular bisector near the center of each line....
Hi, i would like to generate auto cad drawings automatically based on the Input available (for an example, i want to generate Beam to beam "Fin plate" connections. i am having input as Incoming Beam...
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in...
Note: when sorting by date, 'descending order' will show the newest results first.
Conceived, created and cared for by David Watson © 1996–2016