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...
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...
Hi All, I wrote: (setq entitylist (entget (car (entsel)))) in the middle of my code and when I click on the screen by mistake instead of an...
HELLO. :) I need help with this code please, The text command can't insert the variable due to the parentheses . So how can I convert the...
Allows user to draw slope lines.
Inspired by this thread, I thought I'd write a program to Align a Block to a Curve. More details in the header :) ...
Following this thread and this thread, I thought I'd write a complementary function to allow the user to operate on numbers inside text. Example:...
Hello, I wonder how to replace the (entsel function) with (ssget function) !!! (vl-load-com) (setq LINE (car (entsel "\n Select a Line:...
Hi! How can I suspend the execution for a_time seconds/ or milliseconds? Like in C : sleep 1000 --the program sleeps 1 sec Thanks any...
I realise this topic has been covered by numerous examples in the past, but this is a slightly different approach to the previous examples that I...
Hi, when I use vl-file-directory-p function to reports me about existence of some files and directories, it returns nil for names including...
my colleague made this lsip routine to measure and label lines but it does not work, please help. (defun C:LF() (setq en(car (entsel "\n...
Hi Everyone, I'm trying to find a way of compiling my lisp routines but keeping the .lsp so my menus and dos batches don't notice the difference...
hi everybody i wish if someone can do this lisp i want when to run this lisp ask me to select object ( lines ) and when i select the object the...
I'm not too fluent with lisp so I was hoping someone could help me with creating a layer update lisp. We have old drawings that have old layers and...
Currently we run Autocad MEP 2011 and I am having a problem getting a lisp to work. Can someone please tell me what lsp file does autocad auto...
I'm using the lisp below to convert time in seconds to the format (hour : min: sec) but sometimes I get negative value error. I'm sure there is a...
hi,, ive been figuring out how "Laymcur" and "MATCHPROP" can be combined into 1,,meaning if i picked an entity say "line" the layer, color,...
Hi GUYS. :) I have read the Help which attached with Autocad and Afralisp explainations about mapcar and lambda but without a chance to...
Hi, Please can some one help me with the code below, I have (probably badly) butchered this from a tutorial I found online and modified it to my...
You can check the total length of a particular style of line? Words have several different lines of styles. To have the sum of all lengths of each...
Hi Overkill does not work after running a lisp routines!!! i'm sure it's the lisp files that are causing the problem. attached are the...
Is there a lisp function to round up numbers ?:unsure: What I need to do is round up numbers to the second decimal point as in the example...
Dear all, Whenever we open the drawings in a folder, the acaddoc.lsp will be created automatically in that folder and we feel that it is...
Action to prevent insults from the budget longitudinal Excel to AutoCAD note by giving him a set of points arranged her starting point and end point...
if anyone has used Vectorworks, you may have seen a function that inserts a tag (circle, polygon, etc.) with a number. and everytime you click while...
Hello. I wonder why this routine although it is creating a Layer(s) of the selected block(s) it return an error at the end. Here is the...
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.
Forum Rules