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

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,474
    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,069
    18th Sep 2006 10:46 pm Go to last post
  1. Ok where to get the info!!

    hey all, so I am new to getting into writing lisp routines. I have done some searching around and I found it once, yet like a smart guy I didn't save this information. but then you have a lisp...

    Started by dnovember99‎, Today 07:31 am
    • Replies: 4
    • Views: 71
    Today 05:32 pm Go to last post
  2. 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‎, Yesterday 10:54 pm
    • Replies: 3
    • Views: 79
    Today 03:39 pm Go to last post
  3. 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‎, Yesterday 11:49 pm
    • Replies: 3
    • Views: 85
    Today 03:06 pm Go to last post
  4. 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: 11
    • Views: 393
    Today 12:55 pm Go to last post
  5. 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‎, Today 11:53 am
    • Replies: 2
    • Views: 63
    Today 12:23 pm Go to last post
  6. 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,038
    Today 12:07 pm Go to last post
  7. 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
    3 Pages
    1 2 3
    • Replies: 20
    • Views: 549
    Today 01:55 am 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
    • Replies: 7
    • Views: 276
    Today 01:37 am Go to last post
  9. 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‎, Yesterday 06:52 pm
    • Replies: 4
    • Views: 96
    Today 01:25 am Go to last post
  10. Rev Cloud

    I thought I'd try this one again. 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 using the Autocad Revision Cloud command...

    Started by TunzaGibbo‎, Today 12:32 am
    • Replies: 1
    • Views: 66
    Today 01:03 am Go to last post
  11. 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: 8
    • Views: 255
    Yesterday 09:33 pm Go to last post
  12. 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,713
    Yesterday 07:12 pm Go to last post
  13. 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‎, Yesterday 03:38 pm
    • Replies: 3
    • Views: 76
    Yesterday 04:12 pm Go to last post
  14. 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: 442
    Yesterday 07:44 am Go to last post
  15. 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: 111
    14th Dec 2017 10:36 pm Go to last post
  16. 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,076
    14th Dec 2017 01:43 pm Go to last post
  17. 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: 210
    14th Dec 2017 09:22 am Go to last post
  18. 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: 328
    14th Dec 2017 02:02 am Go to last post
  19. 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: 177
    13th Dec 2017 07:49 pm Go to last post
  20. 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: 251
    13th Dec 2017 03:05 pm Go to last post
  21. 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,083
    13th Dec 2017 12:45 pm Go to last post
  22. 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,592
    13th Dec 2017 12:42 pm Go to last post
  23. 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: 351
    12th Dec 2017 10:23 pm Go to last post
  24. 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,356
    12th Dec 2017 07:19 pm Go to last post
  25. [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,143
    12th Dec 2017 04:49 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