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.
Hi, there. It's been a while since I posted here. Lots of work :ouch:
The problem I'm facing now is this:
The designer (begginer) of our autocad project made lots of groups to make an hidraulic...
i find it impossible to call a lisp command from the code, for example
(command "breakline" p1 p2 mid
why is that?
1. Enter A value
2. Enter B value
3. Select the first line
4. Select the second line
5. Select the endline
The result like this
This may be a general Autocad question.
How do I find a unique object and change it's color with a lisp routine? It is in different locations on every drawing.
It's always the same size ...
I am looking for a lisp to sync attributes. For example block Alpha has an attribute called "LOCID" and its surrounded by blocks Beta, Charlie and Delta. All four blocks have diffrent names,...
We are doing a little chute-work in the office at the moment, and have had the need to develop some bend/folded plate work. The items we seem to be spending the most time on are...
When I load lisp files to autocad 2014. allways a message display asking
to to confirm to trust the file. How can I stop that.
I'm not exactly an ace lisp coder but I do understand enough of it to get myself into trouble. I am trying to use Jeffery P. Sanders' lisp routine which claims it will read data from Excel files. The...
I have been trying to get a lisp routine to run that could possibly use the LOGFILEMODE ,LOGFILENAME, LOGFILEPATH and LOGINNAME
We have drawings that seem to be covertly or...
A while ago I was after a routine that would set the UCS back to 0,0,0 upon saving the drawing. Lee Mac was able to write one (attaced). Just wondering if there is a way to have the...
Here is my lisp use it several years ago it works fine
Is it possible to retrieve a var name passed as an argument without quoting the var in the first place?
Better too much details than not enough; To illustrate..
Lets say the symbol Test is...
Im new at this amazing thing of autolisp.still learning and already have all kinds of ideas to improve my way to work at autocad.so here is my question:
Its possible to change values inside a...
Hi Everyone, basically I need to change a name of one block using a lisp routine.
I found this:(defun c:REP (/ ENT1 BL1 bl2 OLD ODNM)
(command "undo" "begin")
(prompt "\nSelect Replacement...
Hello. I am looking for a lisp to divide polyline into parts.
I wolud like to have something like this:
In the picture is "line", but I mean, I have to divide long polylines.
Please help me filter all text that is divisible by 5.
Thanks in advance:)
ive found some lisp generator, i though to shear it,
it can be interesting way to learn...
i have acad viruse on my pc effect on autocad commends i dont know how i can remove that acad lisp .
i use my anti viruse it not valid with that viruse i hope if any one can help me .
does any anyone know how to convert 2D text to a 3D point, the whole drawing in one go?
This is my 1st post, please bear with me. We recently upgraded to Autocad 2012 along with new hardware and a 32" screen. (very nice.) We were running 2006. I do post tension detailing and...
Does anybody have a lisp routine that will let me make a window/crossing selection, then it takes the area of every polyline selected and organizes it into a table?
I found something that was...
thank you Lee Mac
this lisp please add multipul copy objects (which is you align object) i need align object to where i click
i work flow direction...
Is there a way to make autocad to autoselect numbers in correct order (from 501 to 530 ie.)? Selecting them by single clicks takes too much time.
Thanks a lot!
I am looking for some routine help...I'm sure there is a way to acheive this but I am new to the LISP programming scene. Any help to get me started would be GREATLY appreciated!!!
Here's what I'm...
I would like to need a lisp for Alert/warning. Please see the following text format (2x6 #6 X 20'-0" EF). This lisp will need to Alert when the last two letters are EF and The prefix of first two...
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