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

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: 93,266
    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: 76,268
    18th Sep 2006 10:46 pm Go to last post
  1. TABLESTYLE Text for Title & Headers

    I need a way to accurately and quickly count objects in an AutoCAD file and once again, our main man Lee-Mac has an excellent example called TCount which fits the bill nicely. Here are some...

    Started by Bill Tillman‎, 16th Mar 2018 09:38 pm
    • Replies: 4
    • Views: 145
    Today 01:50 am Go to last post
  2. SSGET - Polyline Select by Closed = Yes

    I am have a selection that is to get closed polylines on the indicated layer. The goal is if the closed polyline has 6 vertices then that polyline will be changed to another layer. I need help...

    Started by GregGleason‎, Yesterday 09:55 pm
    • Replies: 2
    • Views: 73
    Today 01:00 am Go to last post
  3. count blocks & set lookup1

    Hello lisp artists, need some help with these lisps, I want to automatically set the cable tags (block "kabeltype A or B") in the attached drawing. The lisp should count the blocks in a range than...

    Started by pmxcad‎, 16th Mar 2018 11:06 pm
    • Replies: 6
    • Views: 137
    Yesterday 10:58 pm Go to last post
  4. SSGET - Polyline Select by Range in Length

    Here is the code that works so far: (setq ss (ssget "_C" '(7.244 2.071) '(16.665 10.003) '((0 . "*POLYLINE") (8 . "PIPE-IsoPrim"))))What I want to do is limit the selection to a range of the...

    Started by GregGleason‎, 16th Mar 2018 04:56 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 223
    Yesterday 09:05 pm Go to last post
  5. Create hatch based on the envelope

    Hello I have a block containing polyline "Test*". What would I like to do? 1. Get the shape of the polyline 2. Divide the shape into 2 parts 3. Create a hatch with an RGB color and individual...

    Started by jan_ek‎, 21st Feb 2018 10:29 pm
    4 Pages
    1 2 3 ... 4
    • Replies: 31
    • Views: 941
    Yesterday 08:46 pm Go to last post
  6. AutoCAD Lisp to Run a command Automatically when opened the file

    Hi All I have a bunch of files in a folder, I have to do the purging process on several files. I have a lisp file to open the file automatically, So my idea is, after open the file, if the file...

    Started by acad1985‎, 16th Mar 2018 06:08 pm
    2 Pages
    1 2
    • Replies: 18
    • Views: 286
    Yesterday 08:30 pm Go to last post
  7. Trouble with repeat command

    Dear sir, I have trouble with "repeat" command, my lisp cannot repeat to continous drawing from take *.prn data. Here's the lisp script and *.prn file; (defun c:job () (setvar "dimzin" 1)...

    Started by masboz‎, 16th Mar 2018 10:31 am
    • Replies: 4
    • Views: 157
    Yesterday 06:02 pm Go to last post
  8. Selection of contours automatically

    Hello everybody, I have a series of closed contours starting from 2.0m to 3.0m at intervals of 0.1m. I can get the area enclosed by each contour line manually by using measuregeom command and...

    Started by aloy‎, Yesterday 02:07 pm
    • Replies: 0
    • Views: 69
    Yesterday 02:07 pm Go to last post
  9. Zoom All - Does Not Work

    So after the end of quite a bit of program calls opening a drawing, near the end of the process I do a ... (command "zoom" "a")(princ)But it does not work. I'm thinking something happened along...

    Started by GregGleason‎, 16th Mar 2018 02:59 pm
    • Replies: 5
    • Views: 160
    Yesterday 04:49 am Go to last post
  10. Lisp for copy text...variations on the theme

    Hello, in my work (unfortunately) I spend a lot (too much) of time copying texts between blocks...Fortunately, however, I found some lisps that speed up this operation! But I could not find...

    Started by itacad‎, 9th Mar 2018 10:51 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 422
    Yesterday 03:01 am Go to last post
  11. Offset and delete source

    Greeting to all, I am trying to built a lisp to offset a line. here's what I have: (defun c:off () (Command "_offset" "e" "yes" pause) (princ) ) the only thing with this is that I...

    Started by anothercadguy‎, 25th Jun 2008 07:45 pm
    2 Pages
    1 2
    • Replies: 15
    • Views: 9,266
    Yesterday 01:55 am Go to last post
  12. Dimension Text Format

    Can anyone help me format some dimension text through LISP? I would like to get the text formatted as horizontally stacked fractions w/ no space between inches and fractions. E.g. (setq txt...

    Started by Arepo‎, 15th Mar 2018 09:00 pm
    • Replies: 6
    • Views: 201
    Yesterday 01:07 am Go to last post
  13. write and read text files

    I'd like to make a lisp that allows cad to communicate with excell. I do know there is a way to write and read .csv files and I'll look into that later, but I really like the versatility of text...

    Started by saim‎, 31st Oct 2017 01:11 pm
    • Replies: 4
    • Views: 515
    Yesterday 01:00 am Go to last post
  14. replace lisp file during startup of autocad

    hi friends, i am using a software called spatialnet, while startup of this software,a lisp getting loaded automatically from the file path in c drive, actually i made some some modification in...

    Started by amb2301‎, 16th Mar 2018 09:45 pm
    • Replies: 2
    • Views: 100
    Yesterday 12:51 am Go to last post
  15. Please help with break splines by xline

    Hi, Attached image shows everything. I would be appreciated with any lisp idea.

    Started by ziele_o2k‎, 16th Mar 2018 10:47 pm
    • Replies: 0
    • Views: 75
    16th Mar 2018 10:47 pm Go to last post
  16. Delete Text objects throughout drawing consisting of a specific string.

    Hello, I've had a great response to my first post here so I hope I will find some understanding this time too. My drawing has 66 layouts created from an incorrect template, and each has lots of...

    Started by pateksan‎, 16th Mar 2018 03:14 pm
    • Replies: 5
    • Views: 121
    16th Mar 2018 05:48 pm Go to last post
  17. Question ؟؟- I Need export dimensions to excel -??

    HI ,, i wanna help to do lisp which export dimensions to excel sheet with the same Order i chose object .. hope all be fine and thnxx to all

    Started by mahramou‎, 4th Jul 2017 07:19 am
    2 Pages
    1 2
    • Replies: 17
    • Views: 2,264
    16th Mar 2018 05:03 pm Go to last post
  18. SSGET - Character Height?

    Is this the code to collect TEXT entities on the "0" layer with a text height of 1? (ssget "_X" '((0 . "Text")(8 . "0")(40 . 1))) I don't think it's right because I am not getting anything when...

    Started by GregGleason‎, 7th Mar 2018 12:12 am
    • Replies: 7
    • Views: 361
    16th Mar 2018 02:56 pm Go to last post
  19. Intersection from two points at Polygon

    Hi, I need a lisp that draw a point at the intersection axis extension of two picked Points at a Polygon. Or make this point as basepoint. (e.g. when I move the polygon) Thanks everybody for...

    Started by Juergen‎, 16th Mar 2018 07:55 am
    • Replies: 0
    • Views: 96
    16th Mar 2018 07:55 am Go to last post
  20. LISP - select objects of specific type

    Hello Everybody, this is my first post and I'd like to know a little bit more about the ssget command. I already searched the world wide web for various search keywords, but couldn't find...

    Started by Vittorio‎, 4th Mar 2018 11:19 pm
    2 Pages
    1 2
    select object, select objects, ssget, ssget filter
    • Replies: 18
    • Views: 688
    16th Mar 2018 02:48 am Go to last post
  21. Cilinder effect 2d (error in 2018)

    This routine give a nice touch to round stuff in 2D. Problem is i can't get it to work in 2018, it quits after findfile "acad.exe" Any idea what this could be? Also: i need to get it to...

    Started by halam‎, 8th Mar 2018 11:30 pm
    • Replies: 3
    • Views: 221
    15th Mar 2018 09:05 pm Go to last post
  22. Inserting OS tiles using lisp routine

    This routine was functional a couple of weeks ago. Now it's giving me the following error: *Invalid* ; error: Function cancelled I have tried changing the path of where the OS tiles are stored...

    Started by Baber62‎, 15th Mar 2018 08:56 am
    os tiles
    • Replies: 2
    • Views: 144
    15th Mar 2018 04:54 pm Go to last post
  23. Changing back and forth between UCSs through VLA methods

    Trying to switch from one ucs to an other and then switch back to the first I realized there is something wrong with the routine below. By the way, I found it somewhere on the net. For saving the...

    Started by MJLM‎, 15th Mar 2018 01:44 pm
    • Replies: 1
    • Views: 135
    15th Mar 2018 04:08 pm Go to last post
  24. Print selected views from model space

    Hello, I have a LISP that used to work perfect until I switched to Acad2017. I installed the new Dos_lib for Acad2017 and I still get the same error: "error: no function definition:Dos_Multilist....

    Started by tazzzz‎, 1st Aug 2016 04:16 pm
    4 Pages
    1 2 3 ... 4
    • Replies: 39
    • Views: 4,510
    15th Mar 2018 12:43 pm Go to last post
  25. AutoCAD Lisp to Saveas and Open the file Automatically

    Hello Guys I'm trying to create a routine Lisp to Saveas the DWG file open it the same file again. but i don't know how to open the file through LISP. I want to save as and open the file...

    Started by acad1985‎, 8th Mar 2018 12:35 am
    2 Pages
    1 2
    • Replies: 17
    • Views: 566
    15th Mar 2018 11:02 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