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.
Just wondering if anyone knows of a good lsp routine for doing the following, or if anyone knows how to do this with built in capabilities in AutoCAD 2015. Basically I want to...
If too many layers ( >40) ,it will be can't display ,guys ,help me modify it.
maybe need add "Page up " & "page down" ?? o:)
(defun c:tt (/ all_tc k2 key kwstr n)
I have drawings full of dimensions overlapping on each other.
Should any one let me know how to get rid of this position via programming?
I tried some coding to move text of...
Can you write code at the prompt points, texts and blocks in layers.
Only if they are located in the drawing
(defun c:tot1 ()
(setq ss (ssget "X" '((0 . "POINT")(8 . "LAY1"))) n (sslength ss))...
Hi. Thanks in advance for any help that anyone can provide! I just got a new version of AutoCAD (2015). Upgrading from 2007. The problem I'm having is that I can't import my CUI from my old...
I have modified this lisp by Dave Corrall to create chainages as per our requirements. I am wondering how to add the "Chainage_Tick" at the vert start of the line.
Can anyone help?
I like to write a text between first and second vertex of a selected Polyline.
please help me to get first vertex (p1) and second vertex (p2) of a polyline. rest of things i can do myself.
i am able to generate model space according to my need.
but i get stucked in viewport management. :cry:
i have 7-8 viewports in one layout with specific layer name.
i want to do...
Can we extend inside polylines and Trim outside polylines to selected polyline boundary. See the attached Image
Kinda new here...
i have been using an outdated lisp in my 2013 autocad. it was working fine on autocad 2009 and 2010 as per seniors in or company. but when we updated 3 years ago...
Hi anybody can help me to write a lisp I have to pick the number in the drawing and subtract the number which I have entered using keyboard then it has to display the value in the screen.
as we all know , DXF file format was the native format for autocad in the past,
now in the DWG time, we still use DXF group codes to proram Autolisp.
DWG is a shall of DXF? or maybe...
Please help me to draw Double line Flex line with smooth curve in autoCAD 2014,
I am an irrigation engineer, This will be used to count the no of fittings in lateral & main pipe network.
Their are two conditions
1.) 1", 1.5", 2", 3" pipe are in different layers...
Every now and then I open my drawings and wonder "huh, who did that". Well of course nobody has done anything. Even "it must have been you who did that".
I have often wondered if there was a...
hi dear all
:(i want draw two line be parallel like mline command but with Specified distance, for draw two horizontial lines i write correspond code, but for this case i confused.
i know that...
Hello folks. any one here has lisp for importing stamp (block) for multiple drawings without opening them. i need to replace more than 200 drawings with a new stamp. instead of opening one by one. TIA
I'm new to both AutoCad (actually Map 3D) and AutoLisp. I need to create a plugin which creates the bounding boxes for all text objects, and write these bounding boxes to a layer named...
I am struggling over combining 2 different lists. Elements from list 1 contains, lets say, 1 2 3, while elements from list 2 are A B C D. The master list would look something like this:
I have a LISP that used to work nice up until this morning when it start working only half way.
This lisp is doing a bunch of tasks:
-asks for scale
-asks for insertion...
I am using this lisp to remove binding Prefix from dimstyle name and textstyle name as well. After removing prefix some style names are matching existing names and that cancelling the...
how do I export the data points XY of CAD using LISP into excel file for example XY.xls
and placed into a specific cell sheet, eg X = Y = cell cell c2 d2
First timer here so please be patient.
I am looking for a lisp the will draw 2d flexible duct. Does this monster exist?
Trying to find a lisp routine to change existing equipment to phantom layer and color but want to keep the line type. Some of the equipment is in blocks with block and some are explode.
What are the steps I have to follow in order to load
an application I have developed, without interacting with:
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