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

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,277
    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: 71,968
    18th Sep 2006 10:46 pm Go to last post
  1. 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
    4 Pages
    1 2 3 ... 4
    • Replies: 39
    • Views: 920
    Today 04:41 am Go to last post
  2. 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: 17
    • Views: 398
    Today 03:21 am Go to last post
  3. 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: 295
    Today 02:02 am Go to last post
  4. 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: 146
    Yesterday 07:49 pm Go to last post
  5. 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: 205
    Yesterday 03:05 pm Go to last post
  6. 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: 9,994
    Yesterday 12:45 pm Go to last post
  7. 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,459
    Yesterday 12:42 pm Go to last post
  8. 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: 4
    • Views: 147
    Yesterday 03:05 am Go to last post
  9. 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: 285
    12th Dec 2017 10:23 pm Go to last post
  10. 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,280
    12th Dec 2017 07:19 pm Go to last post
  11. [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,036
    12th Dec 2017 04:49 pm Go to last post
  12. 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
    • Replies: 5
    • Views: 154
    12th Dec 2017 12:42 pm Go to last post
  13. 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: 201
    12th Dec 2017 08:57 am Go to last post
  14. 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: 3
    • Views: 149
    12th Dec 2017 06:17 am Go to last post
  15. 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: 385
    11th Dec 2017 03:05 pm Go to last post
  16. '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: 667
    11th Dec 2017 02:05 pm Go to last post
  17. 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,271
    11th Dec 2017 01:28 pm Go to last post
  18. 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: 134
    11th Dec 2017 09:59 am Go to last post
  19. Get Mass Properties of a region and update exisitng text box

    I am very new to using lisp routines, so please excuse my ignorance. I have noticed that I have been using AutoCAD to get the sectional properties of built up sections quite often. To do this, I...

    Started by atr140‎, 2nd Feb 2015 10:35 pm
    7 Pages
    1 2 3 ... 7
    • Replies: 66
    • Views: 10,724
    11th Dec 2017 09:49 am Go to last post
  20. Change a list of a list.. tginking to difficult?

    Hello all. Got myself a problem wich is cracking my head... I got the following: !test ((1 1)(1 1)(1 1)) How can i add a number to the last list of the list? Numbers could be anything...

    Started by Aftertouch‎, 10th Dec 2017 08:10 pm
    • Replies: 4
    • Views: 162
    11th Dec 2017 08:17 am Go to last post
  21. Arrow Modifying Plant Schedule Lisp. Please help.

    Can anyone modify the following lisp for me? I found it on cadalyst and its almost what I need, but I would like a little more functionality. Here's how it works: 1) I have a block, that I...

    Started by mexmr10‎, 1st Feb 2010 12:39 am
    4 Pages
    1 2 3 ... 4
    • Replies: 31
    • Views: 6,967
    10th Dec 2017 06:22 pm Go to last post
  22. Adding boundary to text

    I am running a lisp file to insert some text at the end of the file I am adding (c:tcircle) which is from Express Tools. I would like to set up a certain set of default values in my lisp file to...

    Started by TunzaGibbo‎, 7th Dec 2017 02:56 pm
    • Replies: 2
    • Views: 173
    8th Dec 2017 11:37 pm Go to last post
  23. [lisp] Calculation not going right.

    Hi, I'm trying to get an avarage height between 2 z-values. However in the calculation part i get a 'error: bad function: "11.30"' error (height of first point in this case). As far as i can...

    Started by OMEGA-ThundeR‎, 8th Dec 2017 10:45 am
    • Replies: 4
    • Views: 198
    8th Dec 2017 11:29 pm Go to last post
  24. Multi-leader Export Problem

    Hey Guys, first time posting. This forum has helped me out in the past, and I've completely hit a wall. My problem is with multi-leaders. I convert a lot of .dwg files into .shp files and there...

    Started by SammyC‎, 1st Dec 2017 05:19 pm
    • Replies: 9
    • Views: 299
    8th Dec 2017 05:27 pm Go to last post
  25. SSGET for blocks question

    I whant to select dynamic blocks with some conditions: Each block scale has to be grather than 0 X Y and Z scale factor has to be the same for indivdual block I know how to get blocks with...

    Started by ziele_o2k‎, 8th Dec 2017 09:25 am
    • Replies: 5
    • Views: 215
    8th Dec 2017 11:39 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