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

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: 84,561
    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: 72,170
    18th Sep 2006 10:46 pm Go to last post
  1. Problem with getting block insertion pt and SetWindowToPlot

    Hi, I'm writing lisp which will send my drawing (from model space) to plotter. My paper size is setup in dynamic block and I'm printing with acWindow. In some drawings (dwgs) routine selects...

    Started by ziele_o2k‎, Today 03:55 pm
    • Replies: 5
    • Views: 67
    Today 07:23 pm Go to last post
  2. dynamic block visibility lisp

    Hello all, I've posted on SEVERAL forums trying to get an answer to this problem, I've compiled so many different Lisp routines that I've lost count, but none have quite been able to do what i want....

    Started by jetxcc‎, Today 06:38 pm
    • Replies: 0
    • Views: 13
    Today 06:38 pm Go to last post
  3. MINOR edits to a lisp? please help

    hey all, i found a lisp that i am totally digging. i wanted to try and tweak this a tad and see if i can make this better. this lisp was done by the one and only Lee Mac. (i first sent him an...

    Started by dnovember99‎, 8th Dec 2017 09:14 pm
    4 Pages
    1 2 3 ... 4
    • Replies: 31
    • Views: 804
    Today 05:57 pm Go to last post
  4. ddnumb.lsp for AutoCAD 2017

    Did the ddnumb.lsp work? I used it a lot in my work until I upgraded from 2016 to 2017. So I don't even use 2017. Is there a ddnumb.lsp for 2017?

    Started by TLHansen‎, Today 05:04 am
    • Replies: 7
    • Views: 127
    Today 05:12 pm Go to last post
  5. Need help with writing my first LISP routine

    I have been using AutoCAD for a long time and I have used a bunch of LISP routines over the years, but I've always been able to find one that met my needs at that particular time. Because of this...

    Started by jfbrubaker1969‎, 12th Dec 2017 07:01 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 370
    Today 01:33 pm Go to last post
  6. Revision Cloud

    Our office only uses 1 set of settings to create a Rev Cloud. Is there a way I can write this into a Lisp file? Example: (c:_revcloud "A" 4.5 "P" pause) A being for Arc size & P for Polygonals ...

    Started by TunzaGibbo‎, 11th Dec 2017 11:39 pm
    2 Pages
    1 2
    • Replies: 16
    • Views: 506
    Today 01:22 pm Go to last post
  7. What's wrong with this LISP routine

    I pieced together this routine which draws a line from its midpoint.. I added error handler and echo off... The LISP executes fine but it gives me an "; error: AutoCAD variable setting rejected:...

    Started by eimimitu‎, 15th Dec 2017 11:49 pm
    • Replies: 8
    • Views: 233
    Today 12:56 pm Go to last post
  8. Open text file and jumping to a line

    good afternoon, I think the answer is probably no for this, but is it possible to open a text file and scroll down to a certain line of text? For example, I have a text file with project...

    Started by Steven P‎, 6th Dec 2017 03:08 pm
    2 Pages
    1 2
    • Replies: 10
    • Views: 393
    Today 12:17 pm Go to last post
  9. lisp to calculate mass

    dear friends i need a lisp which can calculate mass of a 3d solid input=density and 3d solid object output= mass

    Started by naserrishehri@yahoo.com‎, 29th Jul 2010 07:03 am
    3 Pages
    1 2 3
    • Replies: 24
    • Views: 11,174
    Yesterday 05:54 pm Go to last post
  10. Coordinates and line ID (hyperlink)

    Hello, I have a found a lisp routine (dotsoft) wich exports coordinates off all selected polylines to an txt or csv file. See code below. But in the generated list you can not see wich coordinates...

    Started by djurk_haas‎, Yesterday 05:19 pm
    • Replies: 0
    • Views: 41
    Yesterday 05:19 pm Go to last post
  11. Polyline bulge convertions?

    Hello all, Im having some problems with calculating a bulge factor... I have the following situation: I manage to get a list with all coordinates, and the bulge factor in the right place....

    Started by Aftertouch‎, 12th Dec 2017 09:02 am
    2 Pages
    1 2
    • Replies: 12
    • Views: 493
    16th Dec 2017 07:29 pm Go to last post
  12. Checking for Mleader Styles

    (defun c:FilletWeldBottL () (InsertBlockExplode) ; I added this line to call the below function (setvar "cmleaderstyle" "Fillet Weld Bott L") (command "_mleader") ) The first defun...

    Started by TunzaGibbo‎, 15th Dec 2017 10:54 pm
    • Replies: 3
    • Views: 114
    16th Dec 2017 03:39 pm Go to last post
  13. Lisps for other cad products

    I need your help about using lisps in a cad product other than autocad. I use GstarCAD. And some lisps are not working properly. I tried block counter lisp (CountV1-5.lsp). It works as command line...

    Started by sohcrana‎, 16th Dec 2017 11:53 am
    • Replies: 2
    • Views: 130
    16th Dec 2017 12:23 pm Go to last post
  14. Split Block Based on Polylines inside

    Hi guys after nearly 1 month searching, reading and coding I kind of gave up, and just signed up for an account here seeking for some help, any advice would be much appreciated !! What I've been...

    Started by nosscc‎, 5th Dec 2017 08:01 am
    5 Pages
    1 2 3 ... 5
    • Replies: 42
    • Views: 1,088
    16th Dec 2017 12:07 pm Go to last post
  15. loading LSIP errors

    I was trying the basic tutorials at the AfraLISP.net website but when I try to load "testline" from part 2 of the basic tutorial I get the eroor message: ; error: LOAD failed: "testline" I...

    Started by SRN‎, 15th Dec 2017 06:52 pm
    • Replies: 4
    • Views: 125
    16th Dec 2017 01:25 am Go to last post
  16. Landing Distance (MULTILEADER)

    Im looking for a lisp routine or variable that will uncheck the highlighted "Set landing distance" without opening dialog box? Is there a chance to do that? :) Thank you in advance. :)

    Started by loudy000‎, 29th Oct 2016 11:59 am
    • Replies: 4
    • Views: 1,732
    15th Dec 2017 07:12 pm Go to last post
  17. Text replacer lisp not working

    I get the following text in the AutoCAD text window when I try to run a lisp that replaces strings of text. The LISP is locate in the first comment UNPAIRING24 ((-1 . <Entity name:...

    Started by bustr‎, 15th Dec 2017 03:38 pm
    • Replies: 3
    • Views: 101
    15th Dec 2017 04:12 pm Go to last post
  18. Returning to previous editing screen

    Hi everyone, Previously, when I want to open a file in the editor, I am presented with the recent files I have been working on straight away. However, after running a lengthy file of about 2500...

    Started by aloy‎, 2nd Dec 2017 11:16 am
    2 Pages
    1 2
    • Replies: 13
    • Views: 460
    15th Dec 2017 07:44 am Go to last post
  19. Need help with selecting multiple objects

    Hello, i found info on Lee Mac`s website about select multiple objects, i put in a lisp but it returns NIL. I miss something, where is the problem? (defun c:test () ;---------------- ssget...

    Started by pmxcad‎, 14th Dec 2017 09:43 pm
    • Replies: 1
    • Views: 132
    14th Dec 2017 10:36 pm Go to last post
  20. Is there any way to create a license key for my LISP programs

    I create LISP routines for my Geodetic friends that they used for their surveying activities, may i ask anyone here how could i create or associate an external program (VB for example) before...

    Started by Ahmeds‎, 3rd Dec 2012 02:26 am
    5 Pages
    1 2 3 ... 5
    • Replies: 40
    • Views: 23,142
    14th Dec 2017 01:43 pm Go to last post
  21. Help - No function definition: vlax-ename->vla-object

    Hello, master. I need your help for this lisp, it is my old lisp to get areas from objects but does not work in autocad 2016, i think that is in the bpoly funcion but i dont know how to fix the...

    Started by oonan‎, 10th Dec 2017 11:39 pm
    • Replies: 6
    • Views: 234
    14th Dec 2017 09:22 am Go to last post
  22. Attribute to Object Field

    hi, can somebody help me? I want to select an attribute block and convert it to an Object Value field. Currently my workflow is this : Edit the attribute value Highlight and select...

    Started by CAD_Noob‎, 7th Dec 2017 04:26 am
    • Replies: 8
    • Views: 341
    14th Dec 2017 02:02 am Go to last post
  23. vl-print-to-string bugged or me missing something?

    I just wasted quite some time figuring out why my code was not working as expected (using CAD 2015). Just not sure what to make of it. Let's play. (setq aa "bar") (setq x "aa") Based on (princ...

    Started by Jef!‎, 12th Dec 2017 08:53 pm
    • Replies: 3
    • Views: 192
    13th Dec 2017 07:49 pm Go to last post
  24. Issue with LISP to change XYZ scale of specific block

    Good morning! I am trying to get this code to work, but keep getting errors. I basically want something that will grab all blocks named ELEVATION MARKER and change the X, Y, and Z scaled to "1"....

    Started by K Baden‎, 12th Dec 2017 01:56 pm
    • Replies: 8
    • Views: 277
    13th Dec 2017 03:05 pm Go to last post
  25. 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
    7 Pages
    1 2 3 ... 7
    • Replies: 66
    • Views: 10,134
    13th Dec 2017 12:45 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