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

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: 52,867
    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: 57,173
    18th Sep 2006 10:46 pm Go to last post
  1. Total length on the left corner of pline

    I'm trying to get the total length of single pline and put the text on the left corner of the pline with no success. i join two lisp that i find but the problem is that i need to choose twice the...

    Started by mousho‎, Yesterday 08:32 pm
    • Replies: 4
    • Views: 149
    Yesterday 09:40 pm Go to last post
  2. Auto Dimension to selected rectangles

    Hi Friends, i have several rectangles. i need auto dimension upon selected rectangles as shown in sample drawing format. please help by lisp routine. condition is 1)if my drawing in inches text...

    Started by structo‎, Yesterday 08:28 am
    • Replies: 0
    • Views: 135
    Yesterday 08:28 am Go to last post
  3. MODEMACRO problem with DIESEL function

    Hello all, I want to edit my MODEMACRO, but i get stuck as this point... Solution is probably very simple, but i just cannot figure it out. :? (setvar "MODEMACRO" "Xrefs: $(getvar,USERS3))...

    Started by Aftertouch‎, 29th Nov 2016 01:26 pm
    • Replies: 4
    • Views: 201
    Yesterday 07:03 am Go to last post
  4. Inches dimension to Feet conversion Lisp

    Hi friends, i have dimension text as 59" and so on. i want to convert as 4'-11"rule is above 18" dimension text should be convert as feet. any possibilities by quick lisp? Rule is: find text...

    Started by structo‎, 30th Nov 2016 06:10 am
    2 Pages
    1 2
    • Replies: 16
    • Views: 479
    Yesterday 06:18 am Go to last post
  5. LISP to change text colour based on value range

    Hi I'm looking to be able to change the colour of text based on the value. So if I have 200 text objects of differing values I can select them all and choose to change the colour to red if the value...

    Started by Jamesjh1171‎, 30th Nov 2016 11:26 am
    2 Pages
    1 2
    • Replies: 11
    • Views: 355
    Yesterday 03:28 am Go to last post
  6. LISP routine needed

    Hi guys. I need a LISP routine to do the following: 1) Explode the drawing (one time only), 2) Annotate first block name, 3) Explode this block (it becames a 3D object), 4) Put this 3D object in...

    Started by gigi7@iol.it‎, 30th Nov 2016 03:46 pm
    2 Pages
    1 2
    • Replies: 12
    • Views: 385
    2nd Dec 2016 11:49 pm Go to last post
  7. Smile Reading data each cell ( convert .xlsx to .prn) by Autolips

    Hello everone, Wish everyone have a good day. I have a problem want everone help me. I have a file excell (.xlsx) and convert it to file .prn. I want read data one cell on file but I cant. please...

    Started by thanhdattdk‎, 2nd Dec 2016 01:51 am
    • Replies: 2
    • Views: 206
    2nd Dec 2016 11:30 pm Go to last post
  8. LISP routine to select lineweight and scale

    Hi, I am new to the forum and I would like some help with a LISP routine. I need the routine to do the following: 1. Select all items in the drawing and scale them up by 5. 2. Select all...

    Started by andy_06‎, 4th Oct 2016 08:58 pm
    4 Pages
    1 2 3 ... 4
    • Replies: 34
    • Views: 1,293
    2nd Dec 2016 04:27 pm Go to last post
  9. Boundary Precision

    Hi Forum. Great tool this boundary command, but is there a way to increase precision as in attached drawing i observed that when i zoom out till all the objects are visible and pick a point...

    Started by cadsterdyne‎, 26th Sep 2016 03:39 pm
    2 Pages
    1 2
    • Replies: 19
    • Views: 739
    2nd Dec 2016 10:47 am Go to last post
  10. Change Layer and Copy.

    Hello, I'm very new to LISP and wanted a hand with writing a simple script to copy a line and change the layer to a specific layer. It going from Layer "50" to "TRAV" and I wanted this changed...

    Started by bend‎, 30th Nov 2016 01:33 am
    copy, layers, lisp
    • Replies: 4
    • Views: 248
    2nd Dec 2016 10:44 am Go to last post
  11. Routine claims it can't find file, then it loads the proper file anyway

    I am using a loop which includes command.open to load files sequentially. Every time it tries to load the next file, it pauses the routine to display a message which reads: When I click "OK", the...

    Started by benhubel‎, 1st Dec 2016 09:17 pm
    • Replies: 3
    • Views: 159
    1st Dec 2016 11:23 pm Go to last post
  12. convert lines to 3d polylines

    any help for a lisp to convert a selection set of lines to 3dpolylines thanks for any kind of help

    Started by motee-z‎, 18th Nov 2016 09:06 pm
    • Replies: 6
    • Views: 461
    1st Dec 2016 10:52 pm Go to last post
  13. AutoCAD Lisp for Double offset in same side but various distance

    Hi all... I need help again. i want lisp to make double offset in same side but various distance. one line distance is 1.70mm and another one is 1.75mm from source line. Thanks in advance.

    Started by gmmdinesh‎, 28th Nov 2016 04:56 pm
    3 Pages
    1 2 3
    • Replies: 28
    • Views: 638
    1st Dec 2016 09:02 pm Go to last post
  14. lisp to put text with pline leangth above line

    Im just learning lisp and having a major brain freeze and need this soon. Its probably really simple for someone who knows what there doing and If i had time i could probably figure it out. I just...

    Started by chelsea1307‎, 27th May 2009 11:53 pm
    5 Pages
    1 2 3 ... 5
    • Replies: 41
    • Views: 19,767
    1st Dec 2016 08:13 pm Go to last post
  15. Height on buble

    Hi there, I would like to put automatically the height value in a text string of a block This height value will be the difference between the z value of P1 and P2. So this lisp should work...

    Started by whosa‎, 19th Nov 2016 04:48 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 516
    1st Dec 2016 05:17 pm Go to last post
  16. Door Lisp

    Hi, I would like to add the doors through Lisp. I would like to add automatically something like the picture attached (yellow doors block). Thanks in advance Santo

    Started by whosa‎, 30th Nov 2016 05:10 pm
    2 Pages
    1 2
    • Replies: 14
    • Views: 456
    1st Dec 2016 02:04 pm Go to last post
  17. Question What's up with this???

    Hi All! (Sorry for the long explanation, I hope it helps.) I have this little routine that takes an object, testing with horizontal rectangles, makes a copy directly on top of the original,...

    Started by drafter_joe‎, 30th Nov 2016 02:50 pm
    • Replies: 2
    • Views: 177
    30th Nov 2016 03:20 pm Go to last post
  18. copy/rename layer

    Hi all, i often need to create a new layer that has same properties as some layer that already exist in drawing and/or in some simple way rename layer. without necessity of using annyoing layer...

    Started by ajax30‎, 10th May 2013 10:50 pm
    6 Pages
    1 2 3 ... 6
    • Replies: 52
    • Views: 13,083
    30th Nov 2016 02:48 pm Go to last post
  19. replace an object (rectangle) with a named block and keep the hyperlink

    How to Replace an object (rectangle) with a named block and keep the hyperlink. Can it be done bij lisp? Jaap

    Started by Jaap Marchal‎, 9th Dec 2010 07:11 pm
    2 Pages
    1 2
    • Replies: 17
    • Views: 4,186
    29th Nov 2016 10:18 pm Go to last post
  20. Text Math

    Following this thread and this thread, I thought I'd write a complementary function to allow the user to operate on numbers inside text. Example: ...

    Started by Lee Mac‎, 9th Apr 2010 11:46 pm
    3 Pages
    1 2 3
    • Replies: 24
    • Views: 10,970
    29th Nov 2016 08:01 pm Go to last post
  21. change line angle

    i know this is probably very easy for you guys. but could you help me build a lisp to multiple select LINES and change the angle? if angle < 90, we add +180 to the angle if angle > 270, we sub -...

    Started by ktbjx‎, 28th Nov 2016 10:24 am
    2 Pages
    1 2
    • Replies: 16
    • Views: 516
    29th Nov 2016 07:22 pm Go to last post
  22. Add text to drawing from excel file

    Hi friends, i need add text from excel file to cad drawing lisp routine. read drawing text and excel file text, if matches paste relevant from excel to cad. for example: my drawing text contains...

    Started by structo‎, 25th Nov 2016 08:32 am
    4 Pages
    1 2 3 ... 4
    • Replies: 38
    • Views: 1,002
    29th Nov 2016 05:57 pm Go to last post
  23. Lisp for Layout name to block attribute

    Hi to all! I'am building the title block (block with attributes) and I need a routine that will automatically read layout name, in multi layout dwg, and write it into block attribute „LAYOUT“ ...

    Started by gamulj‎, 20th May 2015 06:44 pm
    2 Pages
    1 2
    attribute, block, layout name, lisp
    • Replies: 16
    • Views: 2,482
    29th Nov 2016 04:16 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: 33
    • Views: 1,333
    29th Nov 2016 02:08 pm Go to last post
  25. sysvarmonitor

    been finding this 'sysvarmonitor' command really handy lately. just wanna know if its possible to choose the reset option without having to bring up the dialog box first? would be great if i was...

    Started by masterfal‎, 28th Nov 2016 05:16 am
    2 Pages
    1 2
    • Replies: 10
    • Views: 305
    29th Nov 2016 01:57 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