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 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...
So many times you see a lisp ask question after question enter L, enter W, enter H.
So why not a dcl that can be simply called from 1 line in a lisp maybe even 5 or 6 entries. Fully customise on...
I have a list like this:
(((SPT01 0.11 1.15) (1/35 3/33 4/31 1 18 7/31)) ((SPT02 0.15 1.1 ) (1/34 3/30 4/31 2 14 7/22)) ((SPT03 0.25 2.44) (1/54 3/74 4/34 1 20 7/744)))
and I need a...
A cad file with many blocks........
Need Lisp to find the Nested Layer located in which block name?
Please help me for making this wildcard matching selection lisp im stuck when I use Setq name in ss get code. its not recognizing name.
(defun c:SR(/ TX namef name)
;;; input Text to...
we are many objects in once place like( Circles, Lines, Blocks, text, etc) we need move and align to another location we found in that location we have more than 4 source points we have...
How can I vl-sort a list of dotted pairs by the first element of each
For simplicity my list is similar to:
(("1" . 1) ("A" . 1) ("C" . 2) ("3" . 1) ("B" . 5) ("D" . 2) ("2" . 3) ("E" . 5))
Please find attached Lisp routine,
This Lisp routine I download from 'tzframpton' to draw the duct in double line,
but each joint create some gap (distance), it is possible to remove that gap? so...
I'm looking for a lisp for special numbering:
I wanted to ask this:
Is there a way to perform "entsel" and "nentsel" at the same time (with one click) ?
For example I'm trying to pick a nested line from a dynamic block,
I have some palettes that contain buttons which activate certain lisp routines
on my machine where i build all palettes and then share them via network.
all items work correctly on my machine....
I am trying to add addition text, as mtext, to a dimension.
The requirements are that the new mtext is below the dimension line and should be 1.3mm high and red in color. The original...
I have a quick question on how to get the block object id based on what a user inputs. For example, if the user Input "MH" into a getkword function, how would I search and find that block and get the...
I in a process of updating attributes values. I need to FIND and zoom highlighted to edit the attribute. However I got to close Find/Replace dialog to update the attribute. I am not using the Replace...
I am new in lisp and this is my first dcl. In this lisp I hope to make attribute entry more convenient using a DCL popup_list to select my range of attributes.
I wish to enter the Brand from...
I was wondering if there is such a lisp like ncopy, to copy and preserve the rotation an entire block of the xref (north arrow).
Thanks in advance,
Hi guys need some help...
I'd like to be able to pick an xref, change its color to 8, its line weight to default and its linetype to Hidden to the deepest level if possible.
I will use...
I have a 1200 lots land similar to shown in the attachment. The poly lines are not joined. I need a way to find the enclosed area of each lot and the area needs to be shown as a text on...
Hello everyone, i need some help about combining some values in the same group.
Such as, the thing i want to do is;
1. Space name will be selected (Ex: B-117 (this part is attribute),
nevermind, i was able to fix it myself :) sorry to bother
;; ============ Num.lsp ===============
;; Will sequentially place numerical
;; text upon mouse click, with optional
;; prefix and suffix.
;; SYNTAX: num
I thought it would be beneficial to everyone if I posted a LISP I wrote a while ago that saves time when drawing piping equipment.
The LISP will draw various sizes of:
So I am trying to create LISP routine that would allow the user to select a line or curve label and then renumber all the line or curve labels based off of that input. My code is as follows (defun...
I'm having trouble getting an autolisp to work. I need an autolisp program to zoom extents for every tab on a certain drawing. I've come up with the following code, but I can't get it to work...
I am looking for a lisp that can match attribute data from one attribute tag say NAME to another attribute tag say DESIGNER_NAME. The tag or attribute name are different but they actually...
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–2016