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

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: 92,230
    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: 75,725
    18th Sep 2006 10:46 pm Go to last post
  1. The polyline closed or not

    How to identify the selected polyline is closed or not by LISP

    Started by wimal‎, Yesterday 05:24 am
    • Replies: 5
    • Views: 134
    Today 02:50 am Go to last post
  2. Cool LISP to draw Polyline or 3D Pline from COGO Points

    I am after a LISP to draw a polyline between selected COGO points. The attached (JohnM - 2009) does something very similar to what i am trying to achieve using normal autocad points. Any help...

    Started by nrt1111‎, Yesterday 04:33 am
    • Replies: 3
    • Views: 109
    Today 01:26 am Go to last post
  3. Import multiple unique blocks from csv

    Hi everyone, First of all, thanks for the information given thus far, this forum has been both helpful and frustrating. It's like being surrounded by people who are running and jumping while I can...

    Started by Robert89‎, 15th Feb 2018 04:08 pm
    2 Pages
    1 2
    • Replies: 15
    • Views: 427
    Yesterday 05:33 pm Go to last post
  4. make table from "opened" excel workbook to autocad drawing

    Greetings everyone .. i found a code written by Juan Villarreal which ask the user to browse the target excel and then open it and copy its used range as a table to the autocad ... now i have...

    Started by handasa‎, 14th Jul 2017 01:58 pm
    2 Pages
    1 2
    • Replies: 12
    • Views: 2,109
    Yesterday 01:54 pm Go to last post
  5. Smile How to find and select the nearest block to a point

    GREETINGS EVERYONE I need a lisp that find and select the nearest bock named "ManHole" to a point .... this point is the insertion point of another selected block say i select a block named...

    Started by handasa‎, 8th May 2017 04:13 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 1,778
    Yesterday 01:37 pm Go to last post
  6. Connect multiple block with line or polyline

    HI Everyone I am looking lisp for connecting multiple blocks with a line or polyline and also wants to create text like 1", 2" on the line. I am creating a line and write text like 1" etc... it...

    Started by taj250‎, 17th Feb 2018 09:25 am
    • Replies: 1
    • Views: 120
    Yesterday 01:11 pm Go to last post
  7. retrieve vertices list out of a polyline (without vlisp)

    hi how would you retrieve vertices list out of a polyline without using any of the vl-load-com functions? all approach that come to your mind is greatly welcome! Thanks Shay

    Started by samifox‎, 9th Mar 2014 10:54 pm
    4 Pages
    1 2 3 ... 4
    • Replies: 38
    • Views: 6,731
    Yesterday 07:08 am Go to last post
  8. Bach Adding suffix

    HI, I would like to add suffix to the text in multiple files at once. ex: the name is "ml153029ar" and I need to add "OVA" at the end but every name in the different drawing are different sort i...

    Started by Jord_91‎, 16th Feb 2018 06:01 pm
    2 Pages
    1 2
    • Replies: 14
    • Views: 344
    18th Feb 2018 10:53 am Go to last post
  9. AutoLisp For Area Calculation

    Hi All, I need some help here. I'v been using a autolisp (obtained from a friend) to calculate floor area with AutoCAD 2007. However recently I've upgraded my AutoCAD to 2013 and I realised the...

    Started by JCYK‎, 19th Sep 2012 04:25 pm
    2 Pages
    1 2
    • Replies: 14
    • Views: 34,041
    18th Feb 2018 09:39 am Go to last post
  10. Get error: no function definition: LM:SSBOUNDINGBOX

    Hello, iam using Lee`s Lisp to make a bounding box. But it gives a ERROR. error: no function definition: LM:SSBOUNDINGBOX. (defun c:test ( / box obj sel spc ) ;(setq all (ssget "_W" '(0...

    Started by pmxcad‎, 16th Feb 2018 08:30 pm
    • Replies: 4
    • Views: 166
    18th Feb 2018 03:04 am Go to last post
  11. Add Row in EXCEL

    Hi All, I just faced 1 problem while interacting with excel. I'm not able to add new row in excel. I searched for it but couldn't find any appropriate result. My code : (setq ex...

    Started by satishrajdev‎, 17th Feb 2018 05:03 pm
    2 Pages
    1 2
    • Replies: 10
    • Views: 202
    17th Feb 2018 07:43 pm Go to last post
  12. Convert DONUT to wipeout DONUT

    Hello all, I know that circle entity can be converted to wipeout polygon via ALISP routine you can find on www.lee-mac.com... How can we create wipeout with hole inside, or better can we...

    Started by marko_ribar‎, 29th Mar 2014 09:28 am
    • Replies: 3
    • Views: 2,689
    17th Feb 2018 06:03 am Go to last post
  13. Select blocks by attribute TAG

    Hello...I find a lot of solution for select blocks by an attribute values, but I did not find any solution for select all blocks in a file that have an attributes with the same tag. For example I...

    Started by itacad‎, 12th Feb 2018 10:50 pm
    • Replies: 8
    • Views: 386
    17th Feb 2018 12:07 am Go to last post
  14. AutoCAD Add object to Block Lisp Adjustment

    All, I've been using Lee Mac's "Add object to block" lisp for sometime now and it works great, and one of the things I use it for is my title block for revisions but now the revision block has...

    Started by BrianTFC‎, 16th Feb 2018 07:38 pm
    add, block, lee mac, object
    • Replies: 0
    • Views: 91
    16th Feb 2018 07:38 pm Go to last post
  15. Intersection of areas

    I'm looking for a lisp routine that gives me the area (value) of the interception of twoo areas. It is not required that the lisp draws the interception area, I just need the value (in fact, if it...

    Started by saim‎, 29th Jan 2018 03:12 pm
    2 Pages
    1 2
    • Replies: 16
    • Views: 811
    16th Feb 2018 07:34 pm Go to last post
  16. Question Script that runs on DWG open doesn't work when using Sheet Set Publish

    Hi All, We have been using Lee Mac's Update Titleblock lisp for a few years now with no issues. However, just recently we noticed that when some users publish through the sheet set that the lisp...

    Started by Argo‎, 7th Feb 2018 06:35 am
    • Replies: 5
    • Views: 307
    16th Feb 2018 01:42 pm Go to last post
  17. How to determine in which quadrant pt2 is relative to pt1

    Hi, How can I determine in which quadrant pt2 is relative to pt1?

    Started by gsc‎, 15th Feb 2018 10:10 am
    • Replies: 8
    • Views: 241
    16th Feb 2018 11:26 am Go to last post
  18. Set color, line type & line weight to by layer

    I need to set color, line type & line weight to by layer in my drawing by lisp.

    Started by wimal‎, 15th Feb 2018 04:56 am
    • Replies: 6
    • Views: 222
    16th Feb 2018 08:57 am Go to last post
  19. Select all in model space

    good afternoon, and sorry if I am being stupid today (in my defence, a long 4 day weekend just finished this morning) I want to select everything in modelspace, how do I do that with LISP? ...

    Started by Steven P‎, 14th Feb 2018 04:16 pm
    • Replies: 9
    • Views: 276
    16th Feb 2018 02:52 am Go to last post
  20. (ssget "_p") issue

    (setq axd (vla-AddDimAligned spc d1 d2 ex)) (vla-Copy axd) (vl-cmdf "_.explode" "_l" "") ;could not find an ActiveX equivalent for this (setq del (ssget "_p")) ;errors here, does not set the...

    Started by eimimitu‎, 14th Feb 2018 07:10 pm
    dims, explode, previous, selection, ssget
    • Replies: 9
    • Views: 338
    15th Feb 2018 11:54 pm Go to last post
  21. Filtering a list with AutoLisp

    Hello, I would apprecite some reactions on the following tools that I made. Reading about Clojure I came across functionality that is not standard available in AutoLisp. After some thinking I...

    Started by eengebruiker‎, 14th Feb 2018 09:24 pm
    autolisp, filter, odd
    • Replies: 5
    • Views: 191
    15th Feb 2018 10:56 pm Go to last post
  22. Too many arguments issue

    Good morning all! I am having trouble figuring out how i should properly fix the following code. I am getting too many arguments in the section highlighted, which makes sense to me but im not...

    Started by K Baden‎, 13th Feb 2018 03:47 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 352
    15th Feb 2018 06:33 pm Go to last post
  23. Question Saveas Directory using attribute Value

    Hi, is there a way to save my drawing with its name in a directory by using a Attribute value. Example: Drawingname: test.dwg blockname: TitleBlock Attribute: SF:WE Attribute-Value: test2

    Started by Halb10‎, 14th Feb 2018 11:26 am
    attribute, attribute text, directory, save, saveas
    • Replies: 5
    • Views: 243
    15th Feb 2018 04:21 pm Go to last post
  24. Question (getint) or (getpoint)

    I need lisp to choose (getint) or (getpoint) (setq txt(getint)) (setq pt(getpoint)) If I have txt I do not need pt and if I have pt I do not need txt so I need to choose beteen pt and txt on one...

    Started by moha_aga‎, 15th Feb 2018 01:41 pm
    • Replies: 6
    • Views: 173
    15th Feb 2018 03:49 pm Go to last post
  25. Unhappy help - draw an adjustable frame

    Hello everyone, I have to draw an adjustable frame (automatic) with a lisp code. The idea is simple (so I think)....I have a fixed point x, y (0, 900) where I need to insert the frame, but the...

    Started by mihaibantas‎, 15th Feb 2018 09:22 am
    • Replies: 0
    • Views: 122
    15th Feb 2018 09:22 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