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.
When i run a lisp om my computer it gives me an error. the first problem was a missing font ic-romand (i renamed another font to continue). I included the files as attatchment. The path to files...
Hi. I am using in a lisp code a layer with the name "test" .I wan't in the same layer to add splines but i want this created splines to have different colors in the same layer.
I use this...
I accidentally created dropdown-menu when I start my Lisp "kop"
By adding a value between brackets:
But I would like to add more values (15 20 25 30 35 40)
How do I do this? I've tried...
Looking for a quick fix. I need to bisect a line and draw a perpendicular line from the mid-point of the measure line. It would be great if this could be dynamically done i.e. the perpendicular can...
The attached message is display when a layer creating in a new file using lisp
code. how can I stop to display it. Is there a system variable to stop it (cad 2016)
In the properties box, in extended data, notes, how come I can add more rows. when I view notes all the text doesn't line up it extends across the monitor
This lisp routine was supposed to insert dynamic blocks with more flexibility of selecting and parameter data entry... but it gets stuck! :?
By running the lisp it uses dynamic input selection to...
I have downloaded this Lisp, and it's work great, but i need some changes in this,
this Lisp draw duct in MLINE but i need it in line entity,
anybody can modified this lisp....
I have a piece of code I'm playing with and I'm having a problem. I'm hoping someone here can take a look...
I wrote a loop to make a list of dimension values. I wanted to be able to handle...
请问一下打包vlx时，选择“独立名称空间” 再打包，程序中的STARTAPP将不能用了！出现no function definition: STARTAPP
I'm currently using a script created by another which sends commands to autocad. It is working pretty well however I'd like to open up autocad in the background and keep excel in focus,...
(vl-load-com) ;Loads ActiveX
Hello all. I've got a custom lisp program that I didn't write, but was written for version R14, and somewhat works for newer Autocad. Without getting into too much detail, because it is a very...
Does anyone happen to know why a lisp routine would work when a small number of objects are grabbed by the user, but it would fail when grabbing a large number of objects and give the following error...
I have a lisp as below but it's showing
select line:no function definition: STARTLSP
Does anynoe help me revise this lisp?
(defun c:moveline ()
I need a lisp routine that will be draw a rectangle with solid hatch with in default.
Can you help?
trying to figur out how the ssget logical operator works...by Lee's website
(ssget '((0 . "TEXT") (-4 . "<OR") (40 . 1.0) (8 . "0") (62 . 3) (-4 . "OR>")))
Selects text objects with...
Could some help me with a LISP.
Basically a LISP to
1) obtain the Coordinates of a user input point &
2) the zoom magnification of the same point and
3) save the values to an existing file...
I've posted an older version of this in another thread, but I made some updates and wanted to 'officially' post it for everyone.
Will allow allow user to select a 'source' Attribute/Multileader...
;; ssget - Lee Mac
;; A wrapper for the ssget function to permit the use of a custom selection prompt
;; msg - selection prompt
;; arg - list of ssget arguments
(defun LM:ssget ( msg arg...
I have below lisp which draw double line duct, but problem is making Radius as per width ratio,
I need ratio 100, 150 or as I want, anybody can help me please,
Thanks in advance
hi all, can someone help me make this process shorter...
what i do is like this:
- select an attributed block
- insert a field
I work with AutoCad Electrical. I've been using an amazing Lisp file by Alan J. Thompson (who is a frequent contributor) call Match Attributes Values and it has been a enormous time saver.
So here I am, trying to create a lisp command, and already stuck at the very first part of it (Yes, Im kinda new with lisp and anything related with programming too)
Is it possible to add to a toolpallette:
"UCS" with the option "Object" already active?
Thanks in advance!
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–2015