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

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: 33,221
    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: 47,511
    18th Sep 2006 10:46 pm Go to last post
  1. How can I calculate area by lisp?

    1. calculate total red pline area 2. total red pline area / black pline area How can I calculate area by lisp?

    Started by Rain0923‎, Yesterday 11:00 am
    • Replies: 3
    • Views: 117
    Today 05:28 am Go to last post
  2. Need help with a Lumber lisp Routine

    I have a few lisp routine that I used before in my previous job. I trying to load them at my new station, but when I type it in the command line it tells this ; error: no function definition:...

    Started by wipo‎, 30th Mar 2015 03:21 pm
    • Replies: 7
    • Views: 206
    Today 03:26 am Go to last post
  3. DXF Codes for Dim and Text Styles

    When I do this(entget (tblobjname "DIMSTYLE" "D12"))I get a list with about 12 of the DXF codes for the dimstyle "D12" in this drawing. But we all know there are many more DXF codes for a dimstyle. I...

    Started by Bill Tillman‎, 6th Jan 2015 10:46 pm
    • Replies: 5
    • Views: 365
    Today 03:19 am Go to last post
  4. LISP to break multiple lines (through cross window selection) at selected points

    Currently using the below LISP to break lines. The selection of lines is picking 1 line at a time. As some polylines are overlapped, i may need to repeat the command 2 or 3 times. If someone could...

    Started by vernonlee‎, 30th Mar 2015 01:49 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 249
    Today 03:16 am Go to last post
  5. Bearing & Distance Lisp Routine

    Hi all.. new to this so I hope I'm in the right area. I just got a lisp routine from here (can't remember the link) to do with bearings & distances for surveying purposes and like it BUT i was...

    Started by zedd33y‎, 22nd Jan 2015 02:12 am
    • Replies: 5
    • Views: 468
    Today 12:34 am Go to last post
  6. Drawing Batch Attribute Editor

    As posted at the Swamp, I wanted to share this here too... Having written the first draft of my old 'Global Attribute Editor' program almost three years ago, I thought it was about time I offered...

    Started by Lee Mac‎, 30th Jan 2012 09:00 pm
    4 Pages
    1 2 3 ... 4
    • Replies: 36
    • Views: 7,179
    Yesterday 07:38 pm Go to last post
  7. Smile LISP for displaying area of multiple polygons

    Hi friends, Anybody please suggest me a LISP program for displaying the area of multiple polygons. My requirement is to automatically display the area in cents (1 Cent = 40.47 sq. m) on the...

    Started by joseffranzis‎, Yesterday 12:15 pm
    • Replies: 1
    • Views: 87
    Yesterday 12:35 pm Go to last post
  8. Check if Point is on LWPOLYLINE (not closed)

    Hi, How can I check with LISP if a given point is exactly on a LWPOLYLINE?

    Started by gschmidt‎, Yesterday 10:09 am
    • Replies: 5
    • Views: 103
    Yesterday 12:34 pm Go to last post
  9. What is the code that I can add to allow any LISP to repeat the command?

    What is the code that I can add to allow any LISP to repeat the command & stop only after I press ESC or something? Below is a sample LISP for reference. Thanks (defun c:bb ( / oldos ent1...

    Started by vernonlee‎, 24th Mar 2015 12:53 pm
    2 Pages
    1 2
    • Replies: 10
    • Views: 417
    Yesterday 09:15 am Go to last post
  10. Is this possible with LISP - Find Blocks in drawing without opening

    A friend of mine said he sometimes has to search around looking for certain blocks in drawings, but he has to open each one to find the block. I have no idea why he needs to do this but he asked if...

    Started by Andrew1979‎, Yesterday 05:55 am
    • Replies: 4
    • Views: 140
    Yesterday 08:45 am Go to last post
  11. Unhappy Generate Lot/Polygon Data to table Help. Mr. Lee, pBe, BIGAL. Need help once more.

    I have an attached dwg here. I want a list routine that will extract the lot's (from mother lot to sublots) bearings and distances just like in the dwg. The tables will be inserted one by one like...

    Started by makimaki‎, 22nd Mar 2015 08:39 am
    2 Pages
    1 2
    • Replies: 15
    • Views: 623
    Yesterday 07:56 am Go to last post
  12. overwrite _open

    Hi Guys This Code worked in some form on my last computer i have attempted to fix it. it appears that i cannot overwrite the "_open" function is there a variable for this. ; variables set (setq...

    Started by SunnyTurtle‎, 27th Mar 2015 06:34 am
    • Replies: 3
    • Views: 293
    Yesterday 02:57 am Go to last post
  13. Loading Project Information via Lisp

    I have a some experience with lisp files and was asked to see if I could come up with a menu that will allow you to select your client and it will automatically load the layers, dim styles, text...

    Started by jonathann3891‎, 30th Mar 2015 02:49 pm
    • Replies: 1
    • Views: 165
    Yesterday 02:46 am Go to last post
  14. Unhappy Need help finding or creating an unusual lisp

    Hi all This is a hard one to try to explain, I've searched the site, the net looking for this but I've come up empty handed, this maybe partly due to not knowing what to enter in the search...

    Started by buzzerknocker‎, 28th Mar 2015 11:00 pm
    2 Pages
    1 2
    • Replies: 18
    • Views: 493
    30th Mar 2015 11:04 pm Go to last post
  15. dimension type

    I need to overwrite the dimension text for several dimensions in one shot but the overwrite has to be different for radial or angular or linear dimension. How do I find out what type of dimension was...

    Started by paulmcz‎, 30th Mar 2015 02:41 am
    • Replies: 9
    • Views: 375
    30th Mar 2015 10:07 pm Go to last post
  16. Question Associative and dynamic text length to a Polyline.

    Hi to all, Please someone knows one lisp to get length of a PL (polyline) and write it above this PL in associative and dynamics form? As the Picture. If the length is changed the text...

    Started by CafeJr‎, 26th Mar 2015 08:03 pm
    2 Pages
    1 2
    • Replies: 14
    • Views: 543
    30th Mar 2015 07:57 pm Go to last post
  17. Extending lines

    Can somebody help with this one? I am new to lisp and have just written this. (defun c:sqlines () (setq oldsnap (getvar "osmode")) (setvar "osmode" 2) ;; Pick the 4 points around the...

    Started by tgibbo‎, 26th Mar 2015 03:14 pm
    • Replies: 4
    • Views: 296
    30th Mar 2015 06:42 pm Go to last post
  18. Dynamically Generated .DCL file issues

    Hi Everyone, I've been lurking here for over a year now and have found lots of useful information (thanks!), but I've finally done something that doesn't seem to have been solved before, and...

    Started by ericjlarson-metopera‎, 25th Mar 2015 09:52 pm
    • Replies: 6
    • Views: 357
    30th Mar 2015 03:41 pm Go to last post
  19. Make selection set active

    Hi all, Stuck with a problem I have a situation, I made a selection set A (Setq A (ssget)) and worked with it according to my need. then created 2nd selection set (setq B (sssget)) Now I...

    Started by satishrajdev‎, 29th Mar 2015 09:09 am
    • Replies: 8
    • Views: 341
    30th Mar 2015 10:32 am Go to last post
  20. Lisp: dynamic blocks management fail

    Hi there, I'm developing a simple program to draw shear reinforcement but I have some problems with my blocks. They are four: rectangular column, circular column, wall end and wall corner). ...

    Started by MastroLube‎, 30th Mar 2015 10:24 am
    • Replies: 0
    • Views: 104
    30th Mar 2015 10:24 am Go to last post
  21. LISP Error: bad argument type: numberp

    Hey guys, I tried to run this lisp ,but, there is an error:Error: bad argument type: numberp: nilUnknown command "ZSST" why?Thanks for any help!

    Started by highflybird‎, 11th Jan 2014 05:36 pm
    2 Pages
    1 2
    • Replies: 16
    • Views: 1,598
    30th Mar 2015 09:30 am Go to last post
  22. Modify centre of viewport with vla-put-center

    Hi, I'm trying to use visual lisp to automate setting up viewports. The trouble is when I try to change the centre. As a basic example (setq entv (vlax-ename->vla-object (car (entsel))))...

    Started by JamCAD‎, 30th Mar 2015 01:30 am
    • Replies: 4
    • Views: 158
    30th Mar 2015 09:17 am Go to last post
  23. Saving a file with rev date and timestamp

    I need to modify a LISP routine. Here's what it supposed to do: 1. save a CAD file with the Filename - Date - Rev00- Timestamp, 2. when it saved it should be saved in two locations, one being...

    Started by Baber62‎, 23rd Mar 2015 10:15 am
    2 Pages
    1 2
    • Replies: 15
    • Views: 578
    30th Mar 2015 09:15 am Go to last post
  24. Sheet set preview pane system variable

    Hi all I'm wondering if there is a system variable to enable the sheet set preview pane by default. I would like to add it to my acaddoc.lsp file Thanks Paul

    Started by pixel8er‎, 30th Mar 2015 02:05 am
    • Replies: 4
    • Views: 140
    30th Mar 2015 06:25 am Go to last post
  25. store endpoints of lines into a list

    small help please any idea i want to select a certain lines then store endpoints of these lines in a list thaks

    Started by motee-z‎, 28th Mar 2015 02:55 pm
    • Replies: 7
    • Views: 335
    30th Mar 2015 06:15 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