+ Post New Thread
Page 1 of 595 1 2 3 11 51 101 501 ... LastLast
Threads 1 to 25 of 14854

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: 53,003
    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: 57,272
    18th Sep 2006 10:46 pm Go to last post
  1. Shorten both ends of pline/line

    I wrote some lisp for shortening both ends of pline/line. This routine is based on "_.lengthen" command, but there is one problem, using this command I can't shorten plines/lines which ends are not...

    Started by ziele_o2k‎, Yesterday 10:49 am
    • Replies: 5
    • Views: 173
    Today 08:50 pm Go to last post
  2. Question Automating data extraction wizzard

    Hey everyone ! ... Can you automate data extractions easily ? I have a routine & template files. I use these every time but its a pain to constantly name and pick files every time. Let me know .....

    Started by JoeyG_77‎, Yesterday 08:37 pm
    • Replies: 4
    • Views: 187
    Today 04:28 pm Go to last post
  3. LISP to count MTEXT & Polylines

    Hi, I have been using the LISP below which was put together with the kind help of people on this forum...... (defun C:checklabel ( / SSX txt ) (foreach x '(63 90 125 180 250 315) (if...

    Started by andy_06‎, 12th Nov 2016 01:46 pm
    4 Pages
    1 2 3 ... 4
    • Replies: 30
    • Views: 1,007
    Today 02:33 pm Go to last post
  4. LISP for total # of sheets in a Sheet Set

    I have created a title block that automatically fills out almost all the information from the .DST file for a project (project number, name, drafter, checker, create date, page number, etc.). Right...

    Started by brawleyman‎, 17th Jun 2009 04:02 pm
    2 Pages
    1 2
    • Replies: 10
    • Views: 4,730
    Today 11:23 am Go to last post
  5. Poll Poll: PlotSheetCountReactor.lsp - Total Layout Variable for Titleblock

    From the thread about trying to derive the total number of layouts in a drawing with Diesel, I decided to put this together. It was basically complete and posted in that thread, but I wanted to clean...

    Started by alanjt‎, 2nd Oct 2009 08:49 pm
    2 Pages
    1 2
    • Replies: 15
    • Views: 7,047
    Today 11:23 am Go to last post
  6. Lips for creating text label (numbering) of the sheet of cadastral map

    Hello all, I am new to AutoLISP, and I have an assignment to make a lisp which would calculate and write number of the sheet of cadastral map (which is defined by scale and coordinates). I'd like...

    Started by shercer‎, Today 11:03 am
    cadastre, croatia, label, numbering, sheet
    • Replies: 0
    • Views: 62
    Today 11:03 am Go to last post
  7. Open specific folder in explorer

    Hey all, i have been trying to get this to work for a day or so now, and im at the point where i have no hair left! ive found macro code (okay, "borrowed"...) and opening the current directory...

    Started by jt6572‎, Today 01:52 am
    2 Pages
    1 2
    • Replies: 10
    • Views: 164
    Today 08:56 am Go to last post
  8. Draw Vertical Alignment IP's

    Dear all; Lisp to draw (as shown in Image) in autocad data collecting from text file as shown thanks Siva

    Started by sivapathasunderam‎, Yesterday 04:03 pm
    • Replies: 3
    • Views: 165
    Today 08:48 am Go to last post
  9. Auto Dimension to selected rectangles

    Hi Friends, i have several rectangles. i need auto dimension upon selected rectangles as shown in sample drawing format. please help by lisp routine. condition is 1)if my drawing in inches text...

    Started by structo‎, 3rd Dec 2016 08:28 am
    • Replies: 3
    • Views: 283
    Today 07:31 am Go to last post
  10. Question Pls Help :) Lisp that detects if Polylines (Layer 1, 2, 3) is inside PL (Layer 1)

    Hi guys. I've been trying to find a lisp that detects if layer specified polylines are inside another layer specified polyline. I want to check if closed polylines under layers (Layer 1, Layer 2 &...

    Started by digitalmapper‎, Yesterday 05:33 pm
    • Replies: 7
    • Views: 185
    Today 04:52 am Go to last post
  11. Question Dimsum ... Help w/ a Mod =)

    Hey everyone I have been using this lisp forever and always wanted a function added and have no idea how to add it. Props to Tony Hotchkiss for writing this great lisp. I wanted to add the function...

    Started by JoeyG_77‎, 6th Dec 2016 02:36 pm
    • Replies: 2
    • Views: 171
    Yesterday 01:37 pm Go to last post
  12. I ahve drawing have objects in various level i move all to zero level except dimensio

    How to move dimensions to zero level

    Started by wrha‎, 5th Dec 2016 06:53 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 339
    Yesterday 01:29 pm Go to last post
  13. Fractal play

    The first Lisp is just a classical example: (defun c:fract3( / a b c) (defun mid(a b) (mapcar '* (mapcar '+ a b) '(0.5 0.5 0.5)) ) (defun draw(a b c) (entmake (list...

    Started by fuccaro‎, 31st Oct 2010 02:12 pm
    2 Pages
    1 2
    • Replies: 16
    • Views: 4,227
    Yesterday 11:15 am Go to last post
  14. Cannot Get This Lisp To Work on All Blocks in a DWG

    We are trying to write a lisp that will set all blocks in a dwg to an X, Y, and Z scale value of 1. By my reckoning it should work. But it only applies the scale change to one block in the dwg -...

    Started by YZ‎, 6th Dec 2016 06:56 am
    • Replies: 3
    • Views: 176
    Yesterday 03:13 am Go to last post
  15. Mtext or Dtext add attribute lisp helpp!!

    Hi forum , my english poor im sory.. ı want a lisp , 1)select Dtext or Mtext (manual) 2)select attribute (manual) 3)add mtext or dtext in attribute (automatic) ı have 1 attribute and 2 text ı...

    Started by 122105asd‎, 5th Dec 2016 07:01 pm
    • Replies: 7
    • Views: 218
    Yesterday 02:39 am Go to last post
  16. LISP to change text colour based on value range

    Hi I'm looking to be able to change the colour of text based on the value. So if I have 200 text objects of differing values I can select them all and choose to change the colour to red if the value...

    Started by Jamesjh1171‎, 30th Nov 2016 11:26 am
    2 Pages
    1 2
    • Replies: 12
    • Views: 515
    6th Dec 2016 10:50 pm Go to last post
  17. Text and Grread

    Hi. I have this code that inserts a text using grread function to which I want to add the option to rotate and resize but I have no idea how to do it would appreciate the help. Thanks ...

    Started by amcdicsac‎, 6th Dec 2016 07:01 pm
    • Replies: 6
    • Views: 179
    6th Dec 2016 09:45 pm Go to last post
  18. Script Writer

    I decided to update my old 'script writer' code to make the program a lot more user friendly. I realise there is ScriptPro, and I'm obviously not in that league, but this offers an alternative. ...

    Started by Lee Mac‎, 31st May 2010 12:12 pm
    5 Pages
    1 2 3 ... 5
    • Replies: 46
    • Views: 10,827
    6th Dec 2016 07:17 pm Go to last post
  19. Append text to an attribute tag value

    Not sure if this is the right place to post this, but here goes. I've got a block that I frequently edit. One of the tags is in inches, so every time I edit the value I have to append a quotation...

    Started by plackowski‎, 6th Dec 2016 03:12 pm
    block attributes
    • Replies: 1
    • Views: 156
    6th Dec 2016 06:00 pm Go to last post
  20. Display of dialog box

    Which autocad variable controls the display of dialog box display when we use below autolisp codes (note: for most commands which displays dialogs box used at command prompt) (command "._layer"...

    Started by MURAl_KMD‎, 6th Dec 2016 04:58 am
    • Replies: 7
    • Views: 235
    6th Dec 2016 03:25 pm Go to last post
  21. model workspace appareance

    I do not know if it's the right section. I would like in model space see all of one colore..es: purple, but when i edit in place a block the colors of the block will return to the normal color, or...

    Started by jim78b‎, 5th Dec 2016 09:25 am
    • Replies: 6
    • Views: 240
    6th Dec 2016 02:19 pm Go to last post
  22. LISP routine needed

    Hi guys. I need a LISP routine to do the following: 1) Explode the drawing (one time only), 2) Annotate first block name, 3) Explode this block (it becames a 3D object), 4) Put this 3D object in...

    Started by gigi7@iol.it‎, 30th Nov 2016 03:46 pm
    2 Pages
    1 2
    • Replies: 16
    • Views: 573
    6th Dec 2016 12:24 am Go to last post
  23. Lisp to edit mtext

    hello everybody, can anyone help me? .. I have a number of mtext in a specified layer like the following example: 2 B32-149 6 B32-154 2 B32-145 40 B12@200-150 44 B12@200-151

    Started by warlock-993‎, 4th Dec 2016 04:21 pm
    2 Pages
    1 2
    • Replies: 15
    • Views: 341
    5th Dec 2016 09:28 pm Go to last post
  24. Special single boundaries.

    it is possible to obtain individual contours from this design situation?

    Started by LULU1965‎, 5th Dec 2016 12:03 pm
    • Replies: 0
    • Views: 133
    5th Dec 2016 12:03 pm Go to last post
  25. Change Layer and Copy.

    Hello, I'm very new to LISP and wanted a hand with writing a simple script to copy a line and change the layer to a specific layer. It going from Layer "50" to "TRAV" and I wanted this changed...

    Started by bend‎, 30th Nov 2016 01:33 am
    copy, layers, lisp
    • Replies: 5
    • Views: 325
    4th Dec 2016 11:38 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