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

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,170
    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,484
    18th Sep 2006 10:46 pm Go to last post
  1. 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‎, Today 02:41 am
    • Replies: 7
    • Views: 115
    Today 05:10 pm Go to last post
  2. 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: 3
    • Views: 236
    Today 03:51 pm Go to last post
  3. 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: 315
    Today 03:41 pm Go to last post
  4. 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‎, Today 02:49 pm
    • Replies: 0
    • Views: 53
    Today 02:49 pm Go to last post
  5. 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: 13
    • Views: 518
    Today 02:02 pm Go to last post
  6. 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‎, Today 01:49 pm
    • Replies: 0
    • Views: 43
    Today 01:49 pm Go to last post
  7. 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: 13
    • Views: 428
    Today 11:47 am Go to last post
  8. 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‎, Yesterday 09:09 am
    • Replies: 8
    • Views: 271
    Today 10:32 am Go to last post
  9. 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‎, Today 10:24 am
    • Replies: 0
    • Views: 60
    Today 10:24 am Go to last post
  10. 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,561
    Today 09:30 am Go to last post
  11. 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‎, Today 01:30 am
    • Replies: 4
    • Views: 117
    Today 09:17 am Go to last post
  12. 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: 536
    Today 09:15 am Go to last post
  13. 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
    • Replies: 8
    • Views: 299
    Today 06:46 am Go to last post
  14. 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‎, Today 02:05 am
    • Replies: 4
    • Views: 106
    Today 06:25 am Go to last post
  15. 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: 306
    Today 06:15 am Go to last post
  16. Changing property values for each dimension.

    Hi, Recently I was taught that changing the variable for DIMGAP to negative will create a "basic dimension" or box around the dimension. But I also noticed that in any dimension properties under...

    Started by tama010‎, 28th Mar 2015 07:59 pm
    • Replies: 2
    • Views: 178
    Today 04:58 am Go to last post
  17. 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: 2
    • Views: 246
    Today 04:07 am Go to last post
  18. Marking coordinates with number and paste to excel

    i have attached a sample drawing and excel sheet for kind observation please help me.

    Started by anindya‎, Yesterday 11:42 am
    • Replies: 6
    • Views: 210
    Yesterday 11:16 pm Go to last post
  19. 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: 14
    • Views: 330
    Yesterday 07:51 pm Go to last post
  20. LISP for marks Centroids of closed polylines

    To find Centroid of the closed polyline it is necessary to transform it in Region. This program finds Centroids the several closed polylines and marks their points. (defun c:polycen (/ polySet...

    Started by Fantomas‎, 4th Dec 2004 11:18 am
    2 Pages
    1 2
    • Replies: 15
    • Views: 9,378
    Yesterday 06:57 pm Go to last post
  21. looking for a lisp or script to attach a xref

    Hello all, i`ve made a script that makes a layer "XREF" and make it current. And set the layout to modelspace. Aftert that i want to attach a XREF. This xref drawingfile is in a subfolder of the...

    Started by pmxcad‎, 28th Mar 2015 08:30 pm
    • Replies: 2
    • Views: 189
    Yesterday 02:25 pm Go to last post
  22. Select all or convert *X### Anonymous blocks.

    I need a way to select all the *X anonymous blocks (Hatches) and either convert to regular blocks, back into a hatch or just delete them. QSelect will only do it one at a time, wildcard doesn't...

    Started by SLW210‎, 26th Mar 2015 04:24 pm
    • Replies: 4
    • Views: 323
    Yesterday 08:10 am Go to last post
  23. Lisp: coordinates of points to excel sheet (+point number)

    Hello, As a rocky acad 2009 (civil) user the Lisp command is new to me and a big challenge. My job asks me to find the coordinates of points. The image has like 200 points, and I know more images...

    Started by janwillem89‎, 21st Jan 2009 12:06 pm
    12 Pages
    1 2 3 ... 12
    • Replies: 112
    • Views: 62,828
    Yesterday 07:49 am Go to last post
  24. Deleting Hatch from Blocks

    Morning All, Is the a lisp or some code to delete a hatch from every block in a drawing. The super market chain I'm working with use the same blocks over and over on different projects but there...

    Started by stenna‎, 26th Jun 2013 11:11 am
    2 Pages
    1 2
    block, code, hatch, lisp
    • Replies: 12
    • Views: 2,512
    Yesterday 07:11 am Go to last post
  25. Lee Mac - the lisp legend

    Lee Mac I hope I'm not embarrassing you. You have already more than 16k posts in 5 years period of time, Every post get your detailed explination Im sure lots of members would like to know...

    Started by samifox‎, 9th Sep 2013 09:11 pm
    13 Pages
    1 2 3 ... 13
    • Replies: 128
    • Views: 11,717
    Yesterday 01:36 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