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.
Go to the block took the name lisp
Since LEE MAC (my LISP Messiah) said: POST #16
im wondered about the path I’ve chosen. I know all the learing curves available but ive choose autolisp because it doesn’t need to be compiled , so...
making some researches on list manipulation,
this is the (vl-every) issue:
(vl-every '= '(1 2 3) '(1 2 3))
and this is my (while) equivalent, somehow i get hard time with how to return...
Have lisp automatic dimensioning
measures that align lisp
Is there a script / lisp routine which will open up multiple acad drawings in selected batches and then modify the text font style across a drawing without affecting the height and justification...
I've got this routine which I plan to use as a tool to rev up drawings. It basically duplicates the revision block and puts the old revision block within another block (so it cannot be...
I am trying to write a program that draws roof battens. I was able to get the program to work when clicking from left to right on the AutoCAD drawing but I thought I would write a bit in the program...
How to retrieve LWPOLYLINE length without using vl?
Hello, is there way to do that (on the name of threat). I mean like select two or more hatches and in the properties you can see the cumulative area. I have a lisp to sum all lenths and areas of...
I have a routine which is comparing and updating the revision value in our title blocks, and have found that there is a need to consider some values equal or not... but ignoring the case...
Hi , i want to make a list box slide (with lisp) like the attach photo. Can any show me an example how to do it ?
What command in LISP do I use so that when the dialogue box pops up it hits enter?
I am using AutoCAD 10 on a WIN 7 Machine
I do not have line 7 correct and I am not sure what to put.
Pick up three points, Drawing cylindrical break line , Forum has this code ?
I need a lisp which will draw a series of polyline in between two bounding polyline. The series of polyline will be perpendicular with two bounding polyline. Please view the image.
Thanks to LM's site I know that the error is caused by "program attempting to use item method of a vla collection object to access an item not present in that collection."
1rst thing: its part...
This code can automatically create the toolbar(*.mnu)
But creating at " my documents ",Can I choose the path?
For example: E:\Program Files\AutoCAD 2010\Support
;;Automatically create the...
I have a setup program at the moment that works well with adding support path directories to AutoCAD in full versions of AutoCAD.
There is a 3rd party application called CADSTA that makes AutoCAD Lt...
im trying to create a wipeout beneate a hatch, i cant figure out what im doing wrong?
(defun C:TEST(/ ent)
(setq ent (entget(car(entsel))))
(command "HATCHGENERATEBOUNDARY" (cdr...
i wrote a simple mapcar to add "Mr" to first names , but i get error
why i cant use 1+ to retrieve names from list?
i need to make entities in a loop,
the location needs to be updated ,
how can i insert "live" data into the quoted list?
(defun caseA (tot seg ang / i)
(setq i 0)
(while (<= i (-...
I have a repetitive task involving inserting room areas into an attribute block. Currently I am using standard 'area' command and counting back six places from the decimal point, mentally noting...
Please help me as title
See the attached Drawing
EDIT3 (short version):
So the default concept for alignment in AutoCAD is picking "source and destination" points - atleast 2 pairs, then it asks you to scale the objects. This process is kinda slow...
A question to LISPers
I will be getting 2014 soon (few months from now though) and I would like to know if all my existing LISP that are currently being used on 2008 will work in 2014 as...
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–2014