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

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: 61,678
    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: 62,069
    18th Sep 2006 10:46 pm Go to last post
  1. make a copy of current open drawing & place it into a predetermine folder

    Have been using the below code with a marco button to open up the window explorer folder of the drawing location. ^C^C(startapp "Explorer" (strcat "/N,/E," (getvar "DWGPREFIX")))I will search...

    Started by tive29‎, Yesterday 12:25 pm
    2 Pages
    1 2
    • Replies: 18
    • Views: 361
    Today 02:04 pm Go to last post
  2. Select distant objects

    Is there any way to select by lisp distant objects, without user intervention. Maybe by the larger coordinates in all 4 quadrants? Thanks

    Started by w64bit‎, Today 07:48 am
    • Replies: 4
    • Views: 89
    Today 02:00 pm Go to last post
  3. Check boxes in DCL

    Hello everyone, I have been trying to implement check boxes in dcl. It appears whether I select or not the return value from the toggle is same (the 0 value). I give below the code and the dialog...

    Started by aloy‎, Yesterday 01:52 am
    • Replies: 6
    • Views: 207
    Today 01:27 pm Go to last post
  4. Make image of selected block (JPG) square image

    Hello all, Is it possible make a imagefile, of a block that i select? I know about the JPGOUT command, but this makes a rectangular image of the whole screen. I want a SQUARE image, of the...

    Started by Aftertouch‎, Yesterday 12:26 pm
    • Replies: 5
    • Views: 156
    Today 01:16 am Go to last post
  5. Repeat Fillet command with new radius each time

    I found this line of a fillet command routine, which allows you to run the fillet command, press enter or spacebar and it runs again, giving you the option to use the previous radius or change to a...

    Started by Dahzee‎, Yesterday 02:11 pm
    • Replies: 3
    • Views: 147
    Today 01:09 am Go to last post
  6. Demand Amps Lisp

    Hello, could someone make a .lsp for calculating demand amps similar to these two Lisps for adding numbers, and calculating phase balance percentage(%)? They work by selecting a value, hitting...

    Started by ryankevin15‎, 25th Apr 2017 02:10 pm
    • Replies: 7
    • Views: 392
    Yesterday 03:30 pm Go to last post
  7. Drawing Move TITLE BLOCK from Current location to base point 0,0

    Hi, I have recently started using LISP codes. Here is what I need to do using LISP routine in a existing drawing where title block is in Model space. 1. Select all 2. Move 3. Specify base...

    Started by hssiway‎, 27th Apr 2017 07:44 pm
    • Replies: 3
    • Views: 187
    Yesterday 03:27 pm Go to last post
  8. rotate all in paperspace including viewport view

    In elevation drawings, the title block (paperspace) is in landscape. The viewport is rotated 90 degree to optimize the paper size. However this makes the viewing of the elevation difficult. Is...

    Started by tive29‎, 26th Apr 2017 07:09 am
    • Replies: 7
    • Views: 275
    Yesterday 02:17 pm Go to last post
  9. Attribute Extraction problem

    Hello I have been using attached lisp for quite some time and it does a great job for what it has been made to do (Thanks to the creator of the lisp). I need to add few more cells to the...

    Started by ADSK2007‎, 22nd Oct 2013 03:03 am
    3 Pages
    1 2 3
    • Replies: 23
    • Views: 4,544
    27th Apr 2017 08:04 pm Go to last post
  10. DCL action_tile string is too long

    I m having an issue with my lisp code for a DCL dialog box I made. It seems my string is too long for action_tile "accept" and I m getting error "bad argument type: lselsetp nil". The problem is,...

    Started by MJLM‎, 26th Apr 2017 10:40 am
    2 Pages
    1 2
    dcl action tile string
    • Replies: 10
    • Views: 351
    27th Apr 2017 08:59 am Go to last post
  11. batch PDF print lisp

    hello, I have hundreds of DWGs I need to pdf, is there a LISP that can batch PDF them? many thanks!

    Started by cat3appr‎, 26th Apr 2017 09:53 am
    • Replies: 2
    • Views: 173
    27th Apr 2017 03:54 am Go to last post
  12. Question Compare 2 objects

    How compare 2 obj ? if the same ,return T , not same , return nil

    Started by DuanJinHui‎, 24th Apr 2017 09:57 am
    • Replies: 8
    • Views: 384
    26th Apr 2017 11:22 am Go to last post
  13. Extract AutoCAD Text (Not Attributes) from a block insert

    Is there a way to extract text to a variable that is embeded in a block by picking the text in a block insert. I am not interest in extracting attributes. I am looking for something that will...

    Started by muck‎, 25th Apr 2017 11:51 pm
    • Replies: 1
    • Views: 150
    26th Apr 2017 03:40 am Go to last post
  14. Electrical Panel Phase Balance Calculator LSP Lispertine

    Okay, here's the deal. I need a LISP that calculates phase balance which is basically percent error between two numbers in the following form. However, we need it to take a selection and find the...

    Started by ryankevin15‎, 6th Apr 2017 04:51 pm
    • Replies: 7
    • Views: 634
    26th Apr 2017 12:58 am Go to last post
  15. How Highlighting a Selection Set ?

    Hi all How Highlighting a Selection Set ?

    Started by DuanJinHui‎, 14th Apr 2017 09:30 am
    2 Pages
    1 2
    • Replies: 16
    • Views: 751
    25th Apr 2017 11:23 pm Go to last post
  16. How to check if a specific Letter Drive exists

    I would like to check if a Drive exists on a computer. I'm writing a lisp that will setup all support paths automatically. The user will be prompted as to whether they want the support paths...

    Started by guitarguy1685‎, 24th Apr 2017 01:21 am
    2 Pages
    1 2
    • Replies: 12
    • Views: 564
    25th Apr 2017 11:21 pm Go to last post
  17. Restore previous UCS using VLA

    Hey All, I'm building a code that does the following: - When i attach 'something' it places it on the layer XREF_TEST. - The current layer stays active. - When my UCS is not WCS, it asks me if...

    Started by Aftertouch‎, 20th Apr 2017 09:20 am
    3 Pages
    1 2 3
    • Replies: 21
    • Views: 786
    25th Apr 2017 07:47 pm Go to last post
  18. Moving Text Block to adjacent point

    I use a very useful LISP by Pedro Ferreira called PMSFptwtxt which places a 3D point at the insertion point of a text string. It's great for processing point surveys which have been flattened, thus...

    Started by archipelag0‎, 15th Mar 2012 12:44 pm
    • Replies: 9
    • Views: 3,515
    25th Apr 2017 06:00 am Go to last post
  19. How to check whether entity's handle is valid?

    Hi all, I am getting error: bad argument type: lentityp by running following code: (defun ATR ( handSTR) (if (HANDENT handSTR) (progn (setq ss1 (ssadd handSTR)) ...

    Started by bababarghi‎, 24th Apr 2017 07:29 am
    • Replies: 7
    • Views: 261
    25th Apr 2017 12:43 am Go to last post
  20. Pface routine based a Lee Mac Grsnap

    Based on the Grsnap function * Lee Mac demonstrated i want to create a better way work with the pface command. Captured this idea in a little demo. https://youtu.be/3NSCJs8Q2AY *...

    Started by halam‎, 22nd Apr 2017 09:48 pm
    • Replies: 7
    • Views: 360
    24th Apr 2017 12:38 pm Go to last post
  21. how to import multiple files?

    Hello, i have +100 files which represents some targets (easting , northing) , i need to merge them into a unique file. IS there a quick way with a LISP to do this? im attaching one... ...

    Started by cat3appr‎, 23rd Apr 2017 07:52 am
    • Replies: 2
    • Views: 264
    24th Apr 2017 12:10 am Go to last post
  22. Exclamation Lisp for remove one line from mtext

    Hi everyone. I need one more help. Please anyone help me.in my dwg file have lots of Mtext like this. for Ex. 123456789 Jobs:XXXXXXX,XXXXXXX,XXXXX,XXX ABCDIEIJ KJSDFUEWEF 12265889 i need to...

    Started by gmmdinesh‎, 16th Apr 2017 07:10 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 614
    23rd Apr 2017 10:13 pm Go to last post
  23. Unhappy printing all tabs

    Hi, I don't know if I should direct this question to this forum,but it would be a huge helping for me : I have a set of drawing in a folder and I want to print them all, I have all the...

    Started by eyal‎, 18th Apr 2017 12:34 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 553
    23rd Apr 2017 07:06 am Go to last post
  24. Customizing Vlide

    Is there a way to save Screen Style configuration? If I'm calling it the wrong thing I'm talking about Font style, Color of background and foreground. Those things? Also how can I go back to...

    Started by guitarguy1685‎, 22nd Apr 2017 05:57 pm
    • Replies: 0
    • Views: 203
    22nd Apr 2017 05:57 pm Go to last post
  25. Remove Excel Sheet Filter from AutoLISP

    How to Remove Excel Sheet Filter from AutoLISP if 'xlsheet' is Excel Sheet Handle, then I want to execute : xlsheet.ShowAllData method. How to do that in AutoLisp.

    Started by mailmaverick‎, 19th Apr 2017 02:47 pm
    • Replies: 1
    • Views: 282
    22nd Apr 2017 04:21 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