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

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,445
    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,046
    18th Sep 2006 10:46 pm Go to last post
  1. 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
    • Replies: 6
    • Views: 198
    Today 08:43 pm Go to last post
  2. 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‎, Today 06:52 pm
    • Replies: 3
    • Views: 22
    Today 08:17 pm Go to last post
  3. 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,698
    Today 07:12 pm Go to last post
  4. 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
    • Replies: 5
    • Views: 240
    Today 06:24 pm Go to last post
  5. 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‎, Today 03:38 pm
    • Replies: 3
    • Views: 59
    Today 04:12 pm Go to last post
  6. 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: 10
    • Views: 351
    Today 02:30 pm Go to last post
  7. 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: 429
    Today 07:44 am Go to last post
  8. 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‎, Yesterday 09:43 pm
    • Replies: 1
    • Views: 93
    Yesterday 10:36 pm Go to last post
  9. 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
    2 Pages
    1 2
    • Replies: 19
    • Views: 512
    Yesterday 06:02 pm Go to last post
  10. 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,043
    Yesterday 01:43 pm Go to last post
  11. 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: 40
    • Views: 1,001
    Yesterday 09:44 am Go to last post
  12. 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: 201
    Yesterday 09:22 am Go to last post
  13. 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: 318
    Yesterday 02:02 am Go to last post
  14. 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: 172
    13th Dec 2017 07:49 pm Go to last post
  15. 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: 233
    13th Dec 2017 03:05 pm Go to last post
  16. 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,060
    13th Dec 2017 12:45 pm Go to last post
  17. Convert to block

    Is there an option to access the convert to block option without bringing up the dialogue box? I don't appear to be able to get to it using the block command!

    Started by Johntosh‎, 7th Jan 2009 02:28 pm
    6 Pages
    1 2 3 ... 6
    • Replies: 54
    • Views: 42,536
    13th Dec 2017 12:42 pm Go to last post
  18. 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: 12
    • Views: 327
    12th Dec 2017 10:23 pm Go to last post
  19. Idea Trying to draw a centerline between two contour lines

    Hello, I have a set of contour lines and I wish to draw a center line between every two contour lines. I mean I need to draw a line that exactly cut the area between every two contour lines in...

    Started by StarHunter‎, 22nd Jun 2010 10:50 pm
    3 Pages
    1 2 3
    • Replies: 22
    • Views: 12,337
    12th Dec 2017 07:19 pm Go to last post
  20. [LISP] Scaling just the "x" and "y" axis

    Hey, I am looking to write a lisp routine that, among other things, creates a block and scales it in the x and y but not z (this is a requirement for a coordinate conversion from a client)... I...

    Started by chiimayred‎, 23rd Jul 2013 04:44 pm
    4 Pages
    1 2 3 ... 4
    lisp, not z, scale, x axis, y axis
    • Replies: 32
    • Views: 16,117
    12th Dec 2017 04:49 pm Go to last post
  21. Get layer name of a vla-object

    Hi, I have snippet as below as part of the lisp code (setq obj1 (vlax-ename->vla-object (car (entsel "\nPick object 1")))) Could you please assist to get layername of the obj1. I have tried ...

    Started by AK_mrts‎, 10th Dec 2017 11:05 am
    • Replies: 6
    • Views: 217
    12th Dec 2017 08:57 am Go to last post
  22. Count Pixel in layer

    Good Morning. i have a question and hope that somebody know a solution. Example: I create 3 different layer. Layer A Layer B Layer C

    Started by dynamo53‎, 8th Dec 2017 11:52 am
    2 Pages
    1 2
    • Replies: 12
    • Views: 430
    11th Dec 2017 03:05 pm Go to last post
  23. 'Alert' box with focus on DWG? acet-uit-status? Multiple lines?

    Hello everybody, Is there a method to create some kinda of 'alertbox' that is floating over the DWG, without claiming the focus from the dwg? I found the function (acet-ui-status "Message"...

    Started by Aftertouch‎, 29th Nov 2017 10:17 am
    2 Pages
    1 2
    • Replies: 18
    • Views: 718
    11th Dec 2017 02:05 pm Go to last post
  24. Lisp for diagonal lines for selected rectangles

    Hi friends, i have rectangles and develop diagonal lines for selected rectangles as shown in figure. Thank you all in advance.

    Started by structo‎, 22nd Nov 2016 01:55 pm
    4 Pages
    1 2 3 ... 4
    • Replies: 35
    • Views: 9,310
    11th Dec 2017 01:28 pm Go to last post
  25. Break a polyline in to equal parts

    I need a code to break a polyline in to equal parts. Please can you help me. It is urgent

    Started by wimal‎, 11th Dec 2017 09:11 am
    • Replies: 2
    • Views: 150
    11th Dec 2017 09:59 am 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