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. ...
Hello Again i have join two great scripts from Lee Mac(txt2att) and Tharwat(qb) :)) but i know this could be optimized.... My intention on doing this is to grab existing text (one by one) and...
Hi Guys, Wasn't that busy, so I thought I'd put together a little Incremental Numbering Suite for you all to sample. I've come to realise that this kind of LISP seems to be quite a popular one...
I want to extract values from objects such as a line, and use them as variables in Autolisp. For instance, say I draw a line: (command "line" "0,0" "@5000<37" "") It will draw a line 5000...
Dear autocad users / lisp writers, Could somebody please help me. I wrote this .lisp file (defun c: x x () ; Put Xref to right layer ; edited the line, otherwise it shows a angry smiley ...
Hi, I am writting this code and I'm having a problem with it (defun NouveauCalque () (Command "_layer" "_n" "-LU BOIS" "_C" "41" "-LU BOIS" "" "") (Command "_layer" "_n" "-LU...
I am looking for a lisp routine that will add text to the front or back of text or to an attributed block style text. Is there a good one out there? Also, if I find one, how do I copy the lisp file...
Hello, I have seen a lots of posts regarding adding Prefix and Suffix to mulitple text items , i have just updated to 2012 and have lost my previous program. Can anyone help?
Hello, I have used the GATTE2.lsp and am indebted to the person who posted it. It's wonderful. Now I humbly ask if there is a way to use the LAYOUTSELECT.DCL in order to completely delete blocks...
Does anyone know of a lisp that if you click on a intersection of two lines, then click the line you want to break it breaks on both side evenly depending on what the LTscale is set to? Thanks in...
Hi! i have studyd Alisp for a while and gone through functions and stuff. But where do i stuck is when i start writing something on my own. It seems that i don ot get the logic steps how to get my...
I'm trying to draw a line with a set length and angle through autolisp, but relative coordinates don't seem to work. If I type (command "line" point1 "3860<-170" "") it draws the line starting at...
Is there a way to give a dim suffix to a dimension in autolisp? ie. I create two dimensions for a line, one centre to centre, with the dim suffix " C/C", the other overall, dim suffix " O/ALL"
Hello, i am currently doing a landscaping job and i come across this problem in which the pavers (hatch pattern) should follow the curved path. Is there a way to to this in lisp? I have tried...
i dont know how to solve this and its driving me nuts I have one computer here at work that no block insertion lisps are working on. Every time i go to insert a block on this machine we get...
Just a open question aboout best way to do this I have moved to a new office 5 storey building around 400 staff the task is to create a simple directory that is tied to our phone list say BIGAL xxxx...
Hi all ... Not new to v/lisp, but new to this great forum. I'm looking to automate title block revision, pdf generation and transmittals via lisp (which will probably be later converted to VB). ...
I am looking for a simple Lisp routine to change the Z value of all parts of all selected entities to a particular value. It would be used with simple contour information (a bunch of lines,...
Hi. I am doing calculation for earthworks in roads and i have this lisp attached but the problem is i have a stations from 8+600 to 23+200 for the main roads spaced at 50m distance and service roads...
I want to mark layers of some elements in the drawing. I thought of using MLeader for this. I wrote some code in lisp but doesn't work. What am I doing wrong here? (defun c:ObjLayer(/ pnt1 pnt2 n...
Hello! I have to check many closed polylines whether their direction is counter clockwise. If they run clockwise, they should be reversed. In the end, all polylines counterclockwise run. Is...
Hi, I am learning Autolisp and am trying to create a simple program but have run into the following problem. I am trying to draw a line of user defined length and therefore want to create a variable...
Hi, I need a lisp routine to change the plot style of blocks in my drawing to 'bylayer' rather than the selected plot styles that they have been put on when they were created (by others). I would...
Lee, Great work. I work with many blocks and your routine is very helpful. I have a request: How apply width and heigh to DCL box? Thanks in advance.
Greetings. Someone can help me with this: I need to erase multiple blocks in a drawing that begin with "AB" or "BC", for example. How can I do this? Thanks for your help.
Hi, I am placing numbers in cad 2004,here i required tool to find out the list of missing number in between those in a .csv or .txt. 1)Example : if 1,2,3,5,68,99 Missing list, 4 6-67 69-98
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.
Forum Rules