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.
Is it possible to select inside of a polyline? Thanks!
This is a dwg_setup menu that I'm working on.
For some reason if I delete the title block and run the command again, it will not hold the insertion point at 0,0. Why?
(defun c:test ()
Hi to all,
Someone can help me to fix this code, it works changing all entity to coordinate Z to 0, but, one-by-one!... It´s possible to fix it?...
Thanks in advance...
My understanding of local variable within one function is it should not be accessible within other functions. However it seems not true, if other functions were called within original...
I'm trying to print a blank line to the command line but LISP doesn't seem to want to process a nil value. For example, If I run:
(princ "\n . ")
(princ "\n . ")
(princ "\n . ")
To all programmers of AutoCad:
Do any of you have a good list of AutoCad file versions and which AutoCad releases pertain to them? As well as variables that have changed or have been dropped or...
I have 3 Lists (List1, List2 and List3) filled with values
With a repeat I want to get the first element from each list.
I tried this:
(setq cnt 1)
How could I get the Vertices of a Polyline after selecting it.
I would like to know: are there any lisp that can calculate the DIP and the length of a 3d Polyline, in Front View or any other view?
I've been confidently programming in AutoLISP for a few years, but just now started dipping my toes into DCL. I have a quick question, because I think I've misunderstood what DCL can do...
I'm inserting some blocks in a drawing and would like to JOIN them together so I can do things like copy, mirror, etc.. with the complete set of them. Okay, so block #1 goes in and then block #2 goes...
Anyone can help to see where i can insert "AcDbAlignedDimension" to allow aligned dimension to be deleted as well.
Got this LISP from another website.
;; DELETE DIMENSION BASE ON...
Im looking for a way to protect some lisp , i know the vlx method, but if theres someone here who can do it a little bit more like and installation with a password ,that would be great . its for...
Would it be possible to create a LISP routine that can take 300-1000 AutoCAD files and rename dimstyle,textstyle automatically?
: Cry:: Cry:
Hello, I'm looking for a way that I can erase any line work underneath a selected poly line. Does any such lisp routine exist?
I am getting a lot of search results on erasing duplicates, but this is...
Every time, after I start up AutoCad, the background color of my model en layout are black.
I prefer the RGB color 40,40,40. This is dark grey.
AutoCad doesn't save this.
When using ssget is there a way capture coordinates of the pick point on the object when it was selected?
Basically I'm looking for a way to determine what side of a pline the user...
I've a little question for you.
Do you know if it's possible to control the distance among elements in an array action ?
I'm able to change dynamic proprieties but not this one...
Hello Cad Users,
I am Christina new to CadTutor and Lisp.
I’m 14 year student with much affection for AutoCad & Autolisp.
And I have a question about Layers…
Found this very nice tutor from...
that's the question:
I have several points in my drawing, all I want to do is select the points with the lowest Z coordinate (MIN) and insert a block in that specific points.
Is there any...
I have two little questions.
Is it possible to identify which coordinate points are internal and which are external?
Unfortunately (angle .. ..) give only positive...
Check the value of A is between value of B and C or not
How can do this with lisp.
is that possible from lisp to plot multiple print out as a selected rectangle. attachment file use sample format.
(action_tile "th" "(setq scl (distof $value))")
What does this mean ?
"th" is a key of "Edit_box",
I want "Edit_box" can only enter Numbers, can't enter character. How to do ?
Someone knows how I can link a balloon text with a table text.
I have a table with a 100 items, and need to create a 100 balloons with each one text in that table, someone know how I...
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–2017