+ Post New Thread
Page 5 of 623 FirstFirst ... 3 4 5 6 7 15 55 105 505 ... LastLast
Threads 101 to 125 of 15551

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: 72,545
    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: 67,371
    18th Sep 2006 10:46 pm Go to last post
  1. How get "IAcad" objet name.

    This code retrieves object properties. (defun c:HD (/ ent) (vl-load-com) (while (setq ent (entsel)) (vlax-dump-object (vlax-Ename->Vla-Object (car ent)) T) ); while (princ) ); defun...

    Started by Kowal‎, 16th Jul 2017 12:25 pm
    • Replies: 7
    • Views: 315
    17th Jul 2017 05:54 am Go to last post
  2. automatic sum cell in table

    hi all i looking for lisp that can calculate a sum of cells by clicking on the cell i want. i have many tables that i have to make sum for every colum and its difecult to do this foe every...

    Started by esam‎, 12th Jul 2017 06:30 am
    • Replies: 9
    • Views: 697
    17th Jul 2017 05:01 am Go to last post
  3. autocad lisp to create lines by typing point names.

    hello i am looking for a lisp that can create lines or pline by typing point names. i have the points in my autocad file as blocks attribute with name for each point. any idea ? please see...

    Started by withyou‎, 15th Jul 2017 02:19 pm
    • Replies: 4
    • Views: 419
    16th Jul 2017 01:57 pm Go to last post
  4. Check if number is multiple off...

    Hello all, How can i check if a number is a mutiple of another number.... Like.. (Setq test 18) (Setq checknumber 6) (If (= test *multiple of* checknumber)

    Started by Aftertouch‎, 14th Jul 2017 06:21 pm
    • Replies: 3
    • Views: 307
    14th Jul 2017 07:08 pm Go to last post
  5. Change text color for multileader

    So I am trying to have the ability to change the text color of mulitleaders from bylayer to red (it is part of a QC routine). After looking through all the properties, the only way I can figure out...

    Started by broncos15‎, 13th Jul 2017 11:33 pm
    • Replies: 4
    • Views: 334
    14th Jul 2017 06:55 pm Go to last post
  6. lisp to move objects over 20in

    Im being totally lazy on this one. but what would a lisp look like to simply select an object enter the command and all it does it move the object over 20" to left?

    Started by MikeP‎, 16th May 2011 10:57 pm
    4 Pages
    1 2 3 ... 4
    • Replies: 31
    • Views: 13,659
    14th Jul 2017 02:58 pm Go to last post
  7. Change all existing dimstyles to standard with a LISP

    Hi this one should be simple for someone who knows LISP. All I want to do is to be able to change all the dimstyles in a dwg to 'standard' (and textstyles as well while I'm at it). My problem is...

    Started by Jamesjh1171‎, 13th Jul 2017 02:46 pm
    • Replies: 8
    • Views: 412
    14th Jul 2017 01:53 pm Go to last post
  8. Angry Updated TXT2MTXT not doing what I want

    Since AutoCAD recently brought the TXT2MTXT command from Express Tools into main AutoCAD, and updated/improved it in the process, I can't get it to consistently do what I want. 1. Converted MTEXT...

    Started by Rooster‎, 4th Jul 2017 10:21 am
    3 Pages
    1 2 3
    • Replies: 28
    • Views: 1,271
    13th Jul 2017 05:05 pm Go to last post
  9. 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
    4 Pages
    1 2 3 ... 4
    • Replies: 32
    • Views: 6,756
    13th Jul 2017 10:18 am Go to last post
  10. Question ADD many different paper sizes in Printer/Autocad

    Hi, Is it possible to add a lot of different paper sizes in autocad printer Now i add it manualy what is very frustrating.... any ideas?

    Started by Fusik‎, 10th Jul 2017 12:01 pm
    • Replies: 1
    • Views: 312
    13th Jul 2017 09:13 am Go to last post
  11. load lisp if its not already loaded

    hi i have tons of lisps , but i want to load them on demand, so in every button ill have this little macro script (defun isLoaded) (if(not (loaded script)) (load lisp) )

    Started by samifox‎, 12th Jul 2017 07:39 am
    2 Pages
    1 2
    • Replies: 11
    • Views: 543
    13th Jul 2017 08:13 am Go to last post
  12. Get / Remove last part of a string with '-'

    Hello all, Im trying to find the awnser on this case... Lets say i have a string: (setq test1 "THIS-IS-A-TEST-STRING") <- can be any random text. How can i remove the last part after the last...

    Started by Aftertouch‎, 12th Jul 2017 03:17 pm
    • Replies: 5
    • Views: 292
    13th Jul 2017 07:17 am Go to last post
  13. Few lisp with same global variables: conflict

    Hello everyone! I've developed 2 programs in visual lisp + opendcl. Unfortunately I've used the same name for few global variables. This cause that if I open the other program, the first doesn't...

    Started by MastroLube‎, 7th Jul 2017 11:48 am
    2 Pages
    1 2
    • Replies: 10
    • Views: 529
    12th Jul 2017 10:11 pm Go to last post
  14. How can I find out weather those lines are parallel or not

    (command "line"p1 p2"") (setq ent1 (entlast)) (command "line"p3 p4"") (setq ent2 (entlast))

    Started by wimal‎, 2nd Nov 2015 04:25 pm
    • Replies: 9
    • Views: 2,866
    12th Jul 2017 04:00 pm Go to last post
  15. Help with lisp to move text to specific locations w/ a better narrative.

    I need help with a lisp to move multiple, (3)lines of text, to a point or an insertion point. I was helped the other day by a awesome individual who instructed me on using the Point Manager and then...

    Started by poffenberger‎, 5th Jul 2017 11:41 pm
    3 Pages
    1 2 3
    • Replies: 21
    • Views: 992
    12th Jul 2017 01:46 pm Go to last post
  16. Selecting Fields

    Hi im using Acad 2017, im using fields constantly in my work, but when its time to send my drawing over to other consultants which are not familiar with dynamic text , it can be a big mess....

    Started by samifox‎, 4th Jul 2017 04:46 am
    • Replies: 5
    • Views: 574
    12th Jul 2017 12:38 pm Go to last post
  17. Help: restore lisp loaded to autocad but the source accidentally deleted

    Greetings everyone ... iam in a problem and i hope to find a solution :oops::cry: i have loaded a routine to autocad session "and it's still opened" but the source file that i loaded accidentally...

    Started by handasa‎, 11th Jul 2017 01:50 pm
    2 Pages
    1 2
    • Replies: 12
    • Views: 655
    12th Jul 2017 10:55 am Go to last post
  18. read dwg properties without opening (PC)

    How can I see details about the drawing without opening it? For instance the units being used?

    Started by samifox‎, 12th Jul 2017 09:13 am
    • Replies: 2
    • Views: 268
    12th Jul 2017 10:54 am Go to last post
  19. Delete double lines (CONTROLED)

    Hello all, I got a large drawing with alot of double lines on different layers. Now i know about the OVERKILL command, but this seems to delete one of the two lines randomly... Is there a...

    Started by Aftertouch‎, 14th Jun 2017 10:16 am
    2 Pages
    1 2
    • Replies: 18
    • Views: 861
    12th Jul 2017 10:02 am Go to last post
  20. Table Cell Style via Lisp

    How do make a lisp go through all cells (rows, columns) and set the cell style? I have "(vla-setcellstyle 0 1 "data")" working, but I dont want to have to program over 100 cells individually. ...

    Started by jonathann3891‎, 11th Jul 2017 06:23 pm
    • Replies: 2
    • Views: 254
    11th Jul 2017 11:56 pm Go to last post
  21. LISP Routine to work between drawings

    So I am trying to figure out a way in LISP to 1)do something in drawing 1. 2) Then creating a new drawing (Drawing 2), doing some items in that drawing, and 3)Copying the items from Drawing 2 back...

    Started by broncos15‎, 11th Jul 2017 03:28 pm
    • Replies: 1
    • Views: 217
    11th Jul 2017 03:49 pm Go to last post
  22. Finding Local Depressions in Surface

    I am trying to write a routine that would draw polylines to all the local depressions in a surface. The way that I currently find the local depressions is by doing a watershed analysis, changing my...

    Started by broncos15‎, 6th Jul 2017 03:43 pm
    3 Pages
    1 2 3
    • Replies: 22
    • Views: 859
    11th Jul 2017 03:26 pm Go to last post
  23. printing field formula content

    hi using acad 2017 ive got a simple formula that does a math and print out the result, but i want it to print out the whole formula and the result. how to do it? see attachment

    Started by samifox‎, 5th Jul 2017 10:04 pm
    • Replies: 5
    • Views: 496
    10th Jul 2017 11:02 pm Go to last post
  24. Mining Routines

    Dear Autolisp expert, I would like please to help me creating subroutines for a mining project. The purpose of these routines will allow creating a room and pillar underground mining design...

    Started by Jeremy Cabrera‎, 10th Jul 2017 05:25 pm
    • Replies: 3
    • Views: 289
    10th Jul 2017 10:27 pm Go to last post
  25. Error message in routine - bad argument type: numberp: nil

    I have a lisp routine which worked well in earlier editions of AutoCAD but now with AutoCAD Map 2014 it doesn't work giving me the following error message: ; error: bad argument type: numberp: nil...

    Started by Baber62‎, 27th Apr 2015 08:02 am
    2 Pages
    1 2
    • Replies: 16
    • Views: 3,700
    10th Jul 2017 02:00 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