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 Guys, This LISP works - sort of. It will produce the desired result, but will return an error in doing so, and I can't work out why. The LISP is supposed to grab all dimensions from all...
Just wondering if anybody knows of a lisp that will draw a circumscribing circle around an irregular shaped closed polyline or region. The circle to be the smallest diameter that the shape will fit...
Hi all We using Xref in most of the project and all inserted in 0,0,0 point. Some user select xref while working and move it. I am wondering if there is a way to avoid this. Thnaks
vla-get-dimstyles Like that how can get list of hatch patterns
Is it possible to assign a variable to the number returned by a selection Window or Box?. If so how. Thanking in advance. Aloy
Hi all, i often need to create a new layer that has same properties as some layer that already exist in drawing and/or in some simple way rename layer. without necessity of using annyoing layer...
Does anyone know any routine that allows, automatically, the break function, but with the points to be defined by endpoints? I need to make the break in overlapping lines. I know and I use the...
Experts, Since I'm a n00b to LiSP, I have been doing research to try and piece together some LiSP to help me with this seemingly tedious task/ritual that I endure daily. Lee Mac posted a reply on...
I have seen some where that, we can export a Entities or texts from one opened drawing to all drawings (same location). I searched but i can't. Can any one remember this one???
Hello All, I could really use some help. Im trying to standardize some CAD items in the office and one thing I came across that I would like to add is break distance. I have no idea how to write...
This thread got start in: http://www.cadtutor.net/forum/showthread.php?75374-How-to-set-lineweight-to-flatshot-image and my last post in it was left without solution. I try to bump it by...
Hi Good Afternoon, evening, morning, I am looking for any assistance possible, as from the title i am looking at some kind of Lisp code that will change the X-Ref file name from 'x' to 'y' for...
I have used the single attribute pulling version I discovered in these forums, but would really like to know if pulling 2 attributes into the rename would work. I require the drawing number (att...
Hi, I'm writing a script containing attdef where I would like to: 1. Select a object (i.e. a closed polyline) 2. Assign area and length to the object 3. Create a block containing the area and...
I use AutoCad 2008. I need quickiest way to fill table cells with fields. For instance, if I have 5 rooms I need for each room to find area with field and to copy field content in a table cell....
Has anyone managed to use conditionals (if, else, or, and etc ...) in the table in autocad field or formula field? If so. How can I do that? Thank in advance Kind Regards
Is there a lisp where i can go to paper space make the viewport active. Then run the lisp to get all layers that is turn off and frozen, assign them to a variable. Then i can go back to model space...
Trying to learn some new techniques here and need a little advice with this. I have a list of layers I want to create in a new drawing. (defun c:Testing123 (/ a laylist) (setq laylist...
(defun c:SBC ( / c d e l ) (if (setq e (car (entsel))) (progn (setq c (cond ( (cdr (assoc 62 (entget e))) ) (...
Greetings, I am trying to wcmatch a variable with another variable but I want to also include wildcards before/after. Shown below is the portion of code I am working on...trying to rename all...
Hi i required a lisp to draw a poly line along with 2 closed poly lines. If i pick 2 vertexes on 2 polygons, 1 new poly line should be created between these two points along with polygon walls. can...
Hello, I apologize if my terminology is off as I generally do not work in CAD/LISP. I am working on a lisp routine that draws blocks and adds attributes to the blocks (labels). I set the...
File. You can load a file with the extension txt, sdr and csv Delimiter. Choosing which is the delimiter data available at expansion halyard txt. Row selection. If you tick the checkbox, you will...
Hello I've got an autocad scr file which draws a polyline I can use the following command to return the area of the polyline area o 0,60
I attach a drawing showing points from a corridor survey (which was given originally as an excel file which was converted to a lisp file with a simple manupulation). I wish to carry out triangulation...
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