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

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,246
    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,259
    18th Sep 2006 10:46 pm Go to last post
  1. 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‎, Yesterday 04:56 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 175
    Today 09:05 pm Go to last post
  2. 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: 930
    Today 08:46 pm Go to last post
  3. 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‎, Yesterday 06:08 pm
    2 Pages
    1 2
    • Replies: 18
    • Views: 248
    Today 08:30 pm Go to last post
  4. 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‎, Yesterday 10:31 am
    • Replies: 4
    • Views: 145
    Today 06:02 pm Go to last post
  5. 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‎, Today 02:07 pm
    • Replies: 0
    • Views: 55
    Today 02:07 pm Go to last post
  6. 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‎, Yesterday 09:38 pm
    • Replies: 3
    • Views: 107
    Today 01:17 pm Go to last post
  7. 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‎, Yesterday 02:59 pm
    • Replies: 5
    • Views: 150
    Today 04:49 am Go to last post
  8. 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‎, Yesterday 11:06 pm
    • Replies: 5
    • Views: 108
    Today 03:52 am Go to last post
  9. 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: 419
    Today 03:01 am Go to last post
  10. 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,263
    Today 01:55 am Go to last post
  11. 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: 199
    Today 01:07 am Go to last post
  12. 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: 510
    Today 01:00 am Go to last post
  13. 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‎, Yesterday 09:45 pm
    • Replies: 2
    • Views: 93
    Today 12:51 am Go to last post
  14. Please help with break splines by xline

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

    Started by ziele_o2k‎, Yesterday 10:47 pm
    • Replies: 0
    • Views: 73
    Yesterday 10:47 pm Go to last post
  15. 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‎, Yesterday 03:14 pm
    • Replies: 5
    • Views: 113
    Yesterday 05:48 pm Go to last post
  16. 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,257
    Yesterday 05:03 pm Go to last post
  17. 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: 360
    Yesterday 02:56 pm Go to last post
  18. 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‎, Yesterday 07:55 am
    • Replies: 0
    • Views: 94
    Yesterday 07:55 am Go to last post
  19. 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: 678
    Yesterday 02:48 am Go to last post
  20. 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: 219
    15th Mar 2018 09:05 pm Go to last post
  21. 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: 143
    15th Mar 2018 04:54 pm Go to last post
  22. 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: 134
    15th Mar 2018 04:08 pm Go to last post
  23. 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,505
    15th Mar 2018 12:43 pm Go to last post
  24. 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: 559
    15th Mar 2018 11:02 am Go to last post
  25. First steps in AutoLISP - too few / too many arguments

    Hello My first post here, so I will start with a brief introduction. I'm an engineering surveyor working in BricsCAD 18 (it's not listed as an option in this forum's registration form), most of my...

    Started by pateksan‎, 14th Mar 2018 02:48 pm
    • Replies: 5
    • Views: 191
    14th Mar 2018 11:50 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