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

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 order to acommodate growth in the future. I'm...

    Started by CADTutor‎, 14th Jun 2010 09:44 am
    8 Pages
    1 2 3 ... 8
    • Replies: 75
    • Views: 29,086
    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 make life easier for you and for others. ...

    Started by CADTutor‎, 18th Sep 2006 10:46 pm
    • Replies: 0
    • Views: 45,255
    18th Sep 2006 10:46 pm Go to last post
  1. Looking for lisp to create a table

    I need it to select polylines. then get linetype,depth,length take and add the same like lengths and give quantities for them. example: linetyp - depth - length - qty hidden - 10 - 12 ...

    Started by j_spawn_h‎, Today 03:32 am
    • Replies: 3
    • Views: 97
    Today 04:34 pm Go to last post
  2. Go back to DCL after error

    Hi, have been looking around on the concept of error handling, but haven't been able to find if it's possible to go back to showing the DCL dialog box after a user presses "Esc" during object...

    Started by cletero‎, Yesterday 04:34 pm
    • Replies: 2
    • Views: 106
    Today 03:47 pm Go to last post
  3. Can this be written better?

    It works but it takes a long time to process. I was thinking my coding can be changed to work more proficient. (defun c:clj (/ c d2d d3d e) (setq layerset (getvar "clayer")) (command...

    Started by j_spawn_h‎, Today 02:25 am
    • Replies: 5
    • Views: 102
    Today 03:24 pm Go to last post
  4. Size of blocks within a drawing

    Is it possible to generate a list of blocks and their sizes in kb? I regularly receive drawing from clients and sometimes the file size is enormous, containing hundreds of blocks. I was hoping...

    Started by robertbon‎, Today 09:30 am
    • Replies: 2
    • Views: 99
    Today 03:00 pm Go to last post
  5. TextCalc

    hi lee, this lisp it's helped me in more work could you modify lisp to same as in to work on command line with decimal because i am working on drainage profile by placing existing water,sewer...

    Started by yathishkumar‎, Today 07:46 am
    • Replies: 2
    • Views: 133
    Today 02:10 pm Go to last post
  6. line new layer my lisp not working please fix

    Hi I want draw lines it has create new layer and snap end point and Ortho on once I right click or cancel it has to go back to old layer and snap off and Ortho off

    Started by sanjeeve‎, 19th Oct 2014 04:01 am
    2 Pages
    1 2
    • Replies: 15
    • Views: 680
    Today 02:08 pm Go to last post
  7. HELP: LISP to create multiple & resized viewport base on an existing viewport

    One of my routine work is to highlight only part view of a drawing that has changes, to our consultants. This involves creating individual viewports, of a specific view, out of that drawing...

    Started by vernonlee‎, 15th Oct 2014 06:58 am
    3 Pages
    1 2 3
    • Replies: 23
    • Views: 827
    Today 09:36 am Go to last post
  8. Select within Polyline Lisp - Macintosh

    Morning All, I realise this has been covered in various forms before - but I think the fact I am working on a Mac does change it a bit as it seems I can't support any Visual Lisp files. ...

    Started by DavidF‎, Yesterday 01:13 am
    • Replies: 3
    • Views: 153
    Today 12:15 am Go to last post
  9. Insert Dimension Measurement Field

    Hello, I am looking for a macro or lisp routine that allows me to insert a field in a text box that automatically takes a dimension's measurement. I am looking to skip all the dialouge boxes...

    Started by RyanAtNelco‎, 21st Aug 2009 02:30 pm
    2 Pages
    1 2
    • Replies: 12
    • Views: 3,791
    Yesterday 07:48 pm Go to last post
  10. insertC lisp file

    Hi everyone, I am seraching for lisp file for automatically incrementally number blocks? from where I stop number its continue? if any have it and how to use it ?8)

    Started by issammm‎, 26th Sep 2014 08:49 am
    • Replies: 9
    • Views: 399
    Yesterday 07:31 pm Go to last post
  11. Add attribute values

    Hi, to everyone. I was looking the routine everywhere with no success :( witch can in block "bar_1" take two attributes "tag1" and "tag2" multiple the two values and put the result in the same block...

    Started by przem_saw‎, Yesterday 09:37 am
    • Replies: 4
    • Views: 101
    Yesterday 03:46 pm Go to last post
  12. how to draw "completed percentage" graphic in autocad by using excel ?

    Hi all, i have a friend from planning department, he is entering data for completed activitys, he is doing this manually, we want to do it with a lisp, so i will enter some data to excel, and autocad...

    Started by cios106‎, 14th Jan 2013 04:55 pm
    • Replies: 2
    • Views: 672
    Yesterday 02:55 pm Go to last post
  13. Babacad how its work with lisp

    Do you now how I must to work with BabaCadlisp? And the function "Ortho"?

    Started by derockere‎, Yesterday 11:47 am
    • Replies: 2
    • Views: 102
    Yesterday 12:46 pm Go to last post
  14. Join both ends of line after deleting the inserted autobreak block

    When deleting the inserted block is it possible to join both end of lines autopmatically

    Started by fathihvac‎, Yesterday 08:37 am
    • Replies: 0
    • Views: 68
    Yesterday 08:37 am Go to last post
  15. 3D UCS extrude combination function

    I am trying to produce a 3D solid routine that combines a UCS 3 point function in it. The first 3 points control the ucs, the following points should be given by user and a extrude must be made. The...

    Started by hlammerts‎, 17th Oct 2014 08:20 am
    • Replies: 8
    • Views: 308
    21st Oct 2014 09:10 pm Go to last post
  16. Turn off non-plottable layers with Lisp

    Anyone have a Lisp routine that will turn off all layers marked as not plottable? Thanks, Tom

    Started by Tom_D‎, 21st Oct 2014 07:54 pm
    lisp off plottable
    • Replies: 5
    • Views: 124
    21st Oct 2014 08:49 pm Go to last post
  17. Lisp to select blocks using wildcard

    Hello, I am in search for a means to select all blocks on a drawing given a wildcard. The particular wildcard we would be using is *- Dy I have been searching for a while now, and have seen...

    Started by Fett2oo5‎, 21st Oct 2014 12:33 pm
    block selection, filter, select by wildcard
    • Replies: 3
    • Views: 155
    21st Oct 2014 08:18 pm Go to last post
  18. SS Get and Lisp Question

    Hell everyone. I currently have the following lisp file: (defun C:get_att() (if (setq ss (ssget "_F" '((7 2.5) (13.5 2.5)) '((0 . "INSERT")))) (progn (setq en (ssname ss 0))

    Started by mfkozlow‎, 21st Oct 2014 04:47 pm
    • Replies: 1
    • Views: 129
    21st Oct 2014 06:25 pm Go to last post
  19. Problem with automatic .plt LISP lineweight

    Hello everyone, recently I edited a simple routine to automatically generate .pdf files in both monochrome and coloured plot styles; currently I've been trying to create a routine for .plt files -...

    Started by Frei‎, 20th Oct 2014 06:12 pm
    • Replies: 2
    • Views: 148
    21st Oct 2014 03:23 pm Go to last post
  20. Please help! , help me complete this program. many thanks!

    Please help! , help me complete this program. many thanks! (defun c:test() ;;Add to improve this program (princ) ) (defun make-dcl (/ lst_str str file f) (setq lst_str '( "temp:dialog...

    Started by DuanJinHui‎, 20th Oct 2014 01:55 pm
    • Replies: 4
    • Views: 251
    21st Oct 2014 01:54 pm Go to last post
  21. Lisp: coordinates of points to excel sheet (+point number)

    Hello, As a rocky acad 2009 (civil) user the Lisp command is new to me and a big challenge. My job asks me to find the coordinates of points. The image has like 200 points, and I know more images...

    Started by janwillem89‎, 21st Jan 2009 12:06 pm
    11 Pages
    1 2 3 ... 11
    • Replies: 105
    • Views: 56,556
    21st Oct 2014 01:36 pm Go to last post
  22. Call a function in mapcar lambda function

    Hello, i've a question, i made 9 function (g1 g2 g3 m1 m2 m3 p1 p2 p3) I want to call each of them in a mapcar function, the 9 functions are into a list in arg of my function : Let see exemple...

    Started by Shakto‎, 20th Oct 2014 06:42 pm
    2 Pages
    1 2
    • Replies: 10
    • Views: 340
    21st Oct 2014 12:55 pm Go to last post
  23. Attributes from hatch to block.

    Hi I have 96 different hatches. I have a template block with only 2 lines of text: Area and Name. I want this block to appear in the middle(ish) of a hatch when i click on it, with "Name"...

    Started by aglaerum‎, 16th Oct 2014 03:39 pm
    attribute, automated, block, hatch
    • Replies: 3
    • Views: 293
    21st Oct 2014 09:44 am Go to last post
  24. Idea Pan in two MS viewports at the same time

    just wondering.... i do a lot of projections when doing elevations / sections and what i do is have the 2 viewports in model space in which the top vport shows the plan while the bottom shows the...

    Started by nod684‎, 28th Nov 2012 02:24 am
    2 Pages
    1 2
    • Replies: 13
    • Views: 1,222
    21st Oct 2014 07:59 am Go to last post
  25. Replaces the attribute value

    This lisp replaces the attribute value. For some unknown reason, when I apply the lisp in the attached block it inadvertently reduces the font size attribute. I have created other blocks for...

    Started by FabioDG‎, 20th Oct 2014 10:32 pm
    • Replies: 0
    • Views: 107
    20th Oct 2014 10:32 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 250 views
Hot thread with unread posts
More than 15 replies or 250 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