+ Post New Thread
Page 1 of 266 1 2 3 11 51 101 ... LastLast
Threads 1 to 25 of 6638

Forum: AutoLISP, Visual LISP & DCL

Questions from beginner to advanced. Tell us about good sources of free lisp and post your own routines for testing.
Code posting guidelines

  1. FAQ Article Sticky Thread Sticky: Suggested changes to this forum

    The "AutoLISP, VBA, the CUI & Customisation" forum has become a very lively part of the AutoCAD Forums and probably needs a structural review in...

    Started by CADTutor, 14th Jun 2010 09:44 am
    8 Pages
    1 2 3 ... 8
    • Replies: 75
    • Views: 3,470
    12th Aug 2010 08:09 am Go to last post
  2. FAQ Article Sticky Thread Sticky: Code posting guidelines

    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...

    Started by CADTutor, 18th Sep 2006 10:46 pm
    • Replies: 0
    • Views: 16,434
    18th Sep 2006 10:46 pm Go to last post
  1. Go to first new post error in using "entsel"

    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...

    Started by alijahed, 17th May 2010 06:12 am
    2 Pages
    1 2
    • Replies: 11
    • Views: 497
    Today 01:23 pm Go to last post
  2. Simple question

    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...

    Started by Sweety, Today 09:57 am
    2 Pages
    1 2
    • Replies: 10
    • Views: 85
    Today 01:06 pm Go to last post
  3. Draw slope lines

    Allows user to draw slope lines.

    Started by ghostware, 7th Apr 2010 08:02 pm
    • Replies: 3
    • Views: 797
    Today 12:07 pm Go to last post
  4. Align Block to Curve

    Inspired by this thread, I thought I'd write a program to Align a Block to a Curve. More details in the header :) ...

    Started by Lee Mac, 29th Apr 2010 08:35 pm
    6 Pages
    1 2 3 ... 6
    • Replies: 52
    • Views: 2,728
    Today 12:05 pm Go to last post
  5. Text Math

    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:...

    Started by Lee Mac, 9th Apr 2010 11:46 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 778
    Today 10:38 am Go to last post
  6. How to make it with ssget ?

    Hello, I wonder how to replace the (entsel function) with (ssget function) !!! (vl-load-com) (setq LINE (car (entsel "\n Select a Line:...

    Started by tharwat313, Yesterday 09:43 pm
    • Replies: 7
    • Views: 93
    Today 09:33 am Go to last post
  7. timing

    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...

    Started by hunszab, Yesterday 11:46 am
    2 Pages
    1 2
    • Replies: 10
    • Views: 153
    Today 08:37 am Go to last post
  8. Align Text to Curve

    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...

    Started by Lee Mac, 13th Jun 2009 05:23 pm
    5 Pages
    1 2 3 ... 5
    • Replies: 44
    • Views: 4,044
    Today 07:58 am Go to last post
  9. Angry (vl-file-directory-p) mistakes

    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...

    Started by Ahankhah, 6th Sep 2010 05:37 pm
    • Replies: 8
    • Views: 173
    Today 07:56 am Go to last post
  10. labeling using autolisp

    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...

    Started by autocrap, 27th Jul 2010 05:17 pm
    3 Pages
    1 2 3
    • Replies: 26
    • Views: 819
    Today 07:29 am Go to last post
  11. protect/unprotect for autocad lisp

    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...

    Started by ewan_m, Yesterday 01:50 am
    • Replies: 4
    • Views: 148
    Today 03:59 am Go to last post
  12. Smile need quick dimension lisp

    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...

    Started by drafting_man, 6th Sep 2010 08:25 pm
    2 Pages
    1 2
    • Replies: 17
    • Views: 240
    Today 03:41 am Go to last post
  13. Exclamation Layer Lisp

    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...

    Started by awill81, 24th Jun 2009 06:44 pm
    3 Pages
    1 2 3
    • Replies: 20
    • Views: 936
    Yesterday 10:06 pm Go to last post
  14. Question AutoLisp needed?

    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...

    Started by jtk07, Yesterday 06:15 pm
    2 Pages
    1 2
    • Replies: 12
    • Views: 133
    Yesterday 09:01 pm Go to last post
  15. LISP to convert seconds to hour : min : sec format

    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...

    Started by sadhu, Yesterday 03:34 pm
    • Replies: 7
    • Views: 123
    Yesterday 08:00 pm Go to last post
  16. Make LAYER, COLOR, LINETYPE current,, that works with DIMENSION, TEXT too

    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,...

    Started by pryzmm, 5th Sep 2010 02:37 am
    2 Pages
    1 2
    laymcur, matchprop
    • Replies: 11
    • Views: 322
    Yesterday 12:38 pm Go to last post
  17. Mapcar + lambda Description

    Hi GUYS. :) I have read the Help which attached with Autocad and Afralisp explainations about mapcar and lambda but without a chance to...

    Started by Sweety, 4th Sep 2010 08:44 pm
    2 Pages
    1 2
    • Replies: 19
    • Views: 368
    Yesterday 12:35 pm Go to last post
  18. Help! Lisp using Polar command?

    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...

    Started by DB007, 5th Sep 2010 03:24 pm
    • Replies: 8
    • Views: 170
    6th Sep 2010 09:29 pm Go to last post
  19. style of lines + total length

    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...

    Started by titoprax, 6th Sep 2010 08:22 pm
    • Replies: 2
    • Views: 76
    6th Sep 2010 08:40 pm Go to last post
  20. Overkill problem after running lisp routine

    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...

    Started by jimpcfd, 2nd Sep 2010 08:47 am
    • Replies: 8
    • Views: 187
    6th Sep 2010 05:52 pm Go to last post
  21. lisp to round-up numbers

    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...

    Started by sadhu, 1st Mar 2010 02:09 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 1,058
    6th Sep 2010 02:13 pm Go to last post
  22. acaddoc.lsp become as a virus in our pc

    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...

    Started by muthu123, 6th Sep 2010 10:32 am
    • Replies: 1
    • Views: 86
    6th Sep 2010 10:41 am Go to last post
  23. Action to prevent insults longitudinal budget of Excel to AutoCAD

    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...

    Started by drafting_man, 6th Sep 2010 10:21 am
    • Replies: 1
    • Views: 90
    6th Sep 2010 10:24 am Go to last post
  24. autonumber

    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...

    Started by qball, 26th Nov 2007 06:58 pm
    • Replies: 6
    • Views: 1,431
    6th Sep 2010 12:15 am Go to last post
  25. Help needed with a Lisp .

    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...

    Started by tharwat313, 4th Sep 2010 08:46 am
    2 Pages
    1 2
    • Replies: 14
    • Views: 269
    4th Sep 2010 10:46 pm Go to last post

Thread Display Options

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.

Icon Legend

Contains unread posts
Contains unread posts
Contains no unread posts
Contains no unread posts
More than 15 replies or 150 views
Hot thread with unread posts
More than 15 replies or 150 views
Hot thread with no unread posts
Closed Thread
Thread is closed
Thread Contains a Message Written By You
You have posted in this thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts