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.
I'm looking a lisp that can run from modelspace that will move object(s) from modelspace to paperspace. I'm assuming that there is only one paperspace window.
Anyone see anything like this?
Looking into tutorials, I got stuck on the theme of Reactors. The author provides excellent explanation, but I don't get it.:geek:...
The company I am working for has changed it's CAD standard and needs to change the attribute textstyle with multiple blocks within a drawing.
This will need to be done on a large...
I just wrote this "imitation" of ACAD's selection, using CPolygon method:
; Grips a selection, if the user specifies the polygon shape, and there are objects in the enclosed area...
I am wondering where to put my DCL file to get my LISP to work. I am trying to install DDnumb again... I put it in the C/Autocad Support folder. I Seem to ask this question every few years... Is it...
New to AutoLisp.
Need some help with a lisp file that moves all dimensions to a dimension layer and text to a text layer. Problem is if say a dimension does not exist in modelspace, but does exist...
Looking for a lisp that will select the following and delete them from the drawing.
lines less than .1 in length
arcs less than .1 in length
circles with a dia less than .1
I am Currently...
I wrote a function that convert the list.
The function deletes the sub list whose first element does not exist in the list 2.
(defun convert (L b / L a)
(setq a (mapcar...
I have some practice work:
; ANALYZE OUTPUT
(defun c:test ( / ans )
(initget 128) ; allows all inputs
(setq ans (getpoint "\nEnter something "))
; Analyze output:
Its me, back again..
Can somebody explain me how of inverse this selection can work?
Lee Mac has some good explanations, but this one it can't find
(setq ss1 (ssget "x" '((60 ....
Change start point on polyline with lisp
Does anyone has routine for helmert transformation?
I am trying to write a LISP to select objects inside of blocks and color them, based on their length/area.
I have successfully gotten lines and polylines to cooperate, but eliipses are giving me...
I am creating blocks witch run from tag_1 to tag_6 and then from tag_7 to tag_12 for the next dwg and so on and takes time renaming all the tags for each block. So I like the create my tag_1 to...
(defun c:sbb(/a b)
((setq a 10 b 5)
(if (> a b)
(progn (princ a)
(setq a (+ a 5) b (+ b 6))
Hi, I just begin to learn Autolisp now by myself. Any one recommend some good videos or e-book(videos better) for a self-starter?Thank you so much!
Hi this is my first post on forum so please be tolerant.
I have many multiple dimension lines with different prefixes . the dimension text looks like that : W1/+1 (220),
Prefix is diffrent for...
I am trying to work on a LISP routine that would create a legend table for the user that has a block with attributes in each . My end goal in mind is to have the user be able to say how many rows...
I wonder if anyone can help me out?
Bit of background - I have a client who requires drawings to be returned to them with the page setup in specific ways, such as not having a plotter...
Good afternoon. Anyone can help me get to create the red line drawing . Thank you
Can one tell me why I can not access this page me.
thank you :x:x:x
Kann mir eine sagen warum ich auf diese Seite nicht mehr zugreifen kann.
Looking for a routine to clean up my layers and merge all random straggler layers into the one it actually should be on based on the suffix of each specific layer. We have a main routine upon opening...
I've been fighting a bit of a losing battle with some of my error handling functions over the last few years. Finally getting around to cleaning up my LISP routines and establishing some...
Currently, the user can:
Insert a Block at all Points from a File (txt/csv)
Insert a Point at all Points from a File (txt/csv)
I was scratching my head several months about a question.
There are alot routines, containing PLOT command, but my question is about PUBLISH. In the web I didn't found any information...
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