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

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,140
    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,670
    18th Sep 2006 10:46 pm Go to last post
  1. 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: 13
    • Views: 240
    Today 03:52 am Go to last post
  2. 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: 12
    • Views: 302
    Today 03:21 am Go to last post
  3. 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: 124
    Today 03:04 am Go to last post
  4. 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‎, Yesterday 05:03 pm
    2 Pages
    1 2
    • Replies: 10
    • Views: 144
    Yesterday 07:43 pm Go to last post
  5. 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,666
    Yesterday 06:03 am Go to last post
  6. 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: 352
    Yesterday 12:07 am Go to last post
  7. 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: 66
    16th Feb 2018 07:38 pm Go to last post
  8. 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: 766
    16th Feb 2018 07:34 pm Go to last post
  9. 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: 286
    16th Feb 2018 01:42 pm Go to last post
  10. 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: 217
    16th Feb 2018 11:26 am Go to last post
  11. 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: 203
    16th Feb 2018 08:57 am Go to last post
  12. 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: 35
    • Views: 6,651
    16th Feb 2018 07:44 am Go to last post
  13. 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: 253
    16th Feb 2018 02:52 am Go to last post
  14. (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: 311
    15th Feb 2018 11:54 pm Go to last post
  15. 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: 163
    15th Feb 2018 10:56 pm Go to last post
  16. 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: 307
    15th Feb 2018 06:33 pm Go to last post
  17. 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: 220
    15th Feb 2018 04:21 pm Go to last post
  18. 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: 148
    15th Feb 2018 03:49 pm Go to last post
  19. 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: 104
    15th Feb 2018 09:22 am Go to last post
  20. Lisp routines don't work in deeper folders

    Hello everybody. I don't know am I posting to the right place but maybe someone can help. The problem is that my lisp routines won't work on files that are saved more than two levels of nested...

    Started by Tomislav‎, 14th Feb 2018 08:10 am
    2 Pages
    1 2
    • Replies: 11
    • Views: 306
    14th Feb 2018 07:33 pm Go to last post
  21. Draw lines and circles with some rules

    Hi guys! I've wrote this lisp in order to draw these circles + lines in a fasted way. As you can see it doesn't work very good with the vertical edge of 30cm, but it works if I put 60cm.....

    Started by MastroLube‎, 8th Feb 2018 11:52 am
    • Replies: 3
    • Views: 316
    14th Feb 2018 12:19 pm Go to last post
  22. 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: 11
    • Views: 2,044
    14th Feb 2018 02:33 am Go to last post
  23. Incremental Attribute using AutoLisp

    Hello, I am new to AutoLISP world. I am trying to write a code which will edit attribute in incremental numbering with each click on attribute. The easiest way command for it is "ATTIPEDIT". But I...

    Started by sanetmunde‎, 12th Feb 2018 08:45 am
    • Replies: 5
    • Views: 236
    13th Feb 2018 08:27 am Go to last post
  24. DCL alignment column

    I am trying to format the DCL window. : text { label = "Test DCL."; alignment = centered; } : row { : boxed_column { width = 10;

    Started by Kowal‎, 11th Feb 2018 01:13 pm
    • Replies: 6
    • Views: 310
    13th Feb 2018 06:18 am Go to last post
  25. how to preview a pattern?

    How to preview a pattern? HighLight the select line and Refresh after modify a line.

    Started by belx‎, 11th Feb 2018 04:51 am
    • Replies: 4
    • Views: 262
    12th Feb 2018 08:32 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