+ 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,197
    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,918
    18th Sep 2006 10:46 pm Go to last post
  1. 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‎, Yesterday 11:39 pm
    2 Pages
    1 2
    • Replies: 12
    • Views: 194
    Today 10:23 pm Go to last post
  2. 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!‎, Today 08:53 pm
    • Replies: 0
    • Views: 23
    Today 08:53 pm Go to last post
  3. 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‎, Today 07:01 pm
    • Replies: 3
    • Views: 58
    Today 07:50 pm Go to last post
  4. 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,201
    Today 07:19 pm Go to last post
  5. 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: 10
    • Views: 260
    Today 07:11 pm Go to last post
  6. 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‎, Today 01:56 pm
    • Replies: 6
    • Views: 114
    Today 07:08 pm Go to last post
  7. 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: 34
    • Views: 775
    Today 04:58 pm Go to last post
  8. [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: 15,942
    Today 04:49 pm Go to last post
  9. 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: 5
    • Views: 238
    Today 02:01 pm Go to last post
  10. 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‎, Today 09:02 am
    • Replies: 5
    • Views: 118
    Today 12:42 pm Go to last post
  11. 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: 179
    Today 08:57 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: 3
    • Views: 127
    Today 06:17 am Go to last post
  13. 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: 351
    Yesterday 03:05 pm Go to last post
  14. '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: 604
    Yesterday 02:05 pm Go to last post
  15. 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,216
    Yesterday 01:28 pm Go to last post
  16. 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‎, Yesterday 09:11 am
    • Replies: 2
    • Views: 117
    Yesterday 09:59 am Go to last post
  17. 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,684
    Yesterday 09:49 am Go to last post
  18. 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: 149
    Yesterday 08:17 am Go to last post
  19. 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,932
    10th Dec 2017 06:22 pm Go to last post
  20. 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: 158
    8th Dec 2017 11:37 pm Go to last post
  21. [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: 181
    8th Dec 2017 11:29 pm Go to last post
  22. 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: 277
    8th Dec 2017 05:27 pm Go to last post
  23. 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: 193
    8th Dec 2017 11:39 am Go to last post
  24. 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: 3
    • Views: 199
    8th Dec 2017 11:13 am Go to last post
  25. strcat help sought

    Lisp question (setq ope(getreal "\nenter the actual ope size...")) (setq wname (strcat ope "w")) (command "-insert" wname p2 "" "" p3 "") ; inserts a standard block. What I basically want...

    Started by diarmuid‎, 22nd Aug 2006 04:54 pm
    • Replies: 7
    • Views: 2,124
    8th Dec 2017 08:58 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