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

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,405
    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: 61,944
    18th Sep 2006 10:46 pm Go to last post
  1. 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‎, Yesterday 10:40 am
    2 Pages
    1 2
    dcl action tile string
    • Replies: 10
    • Views: 274
    Today 08:59 am Go to last post
  2. 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‎, Yesterday 09:53 am
    • Replies: 2
    • Views: 125
    Today 03:54 am Go to last post
  3. 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‎, Yesterday 07:09 am
    • Replies: 4
    • Views: 191
    Today 03:11 am Go to last post
  4. 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: 2
    • Views: 196
    Yesterday 07:25 pm Go to last post
  5. 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: 344
    Yesterday 11:22 am Go to last post
  6. 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: 125
    Yesterday 03:40 am Go to last post
  7. 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: 608
    Yesterday 12:58 am Go to last post
  8. 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: 705
    25th Apr 2017 11:23 pm Go to last post
  9. 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: 494
    25th Apr 2017 11:21 pm Go to last post
  10. 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: 732
    25th Apr 2017 07:47 pm Go to last post
  11. 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,485
    25th Apr 2017 06:00 am Go to last post
  12. 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: 235
    25th Apr 2017 12:43 am Go to last post
  13. 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: 339
    24th Apr 2017 12:38 pm Go to last post
  14. 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: 234
    24th Apr 2017 12:10 am Go to last post
  15. 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: 589
    23rd Apr 2017 10:13 pm Go to last post
  16. 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: 531
    23rd Apr 2017 07:06 am Go to last post
  17. 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: 189
    22nd Apr 2017 05:57 pm Go to last post
  18. 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: 261
    22nd Apr 2017 04:21 pm Go to last post
  19. Please explain this error handler to me

    I've been using this error handler in lisps where I modify system variables for a while now. I can't remember where I found this code below. (setq *error* (lambda (msg) (setvar...

    Started by guitarguy1685‎, 21st Apr 2017 05:04 am
    • Replies: 3
    • Views: 289
    21st Apr 2017 09:44 pm Go to last post
  20. Quote external circles

    Hello guys, I work for a society that makes voided slabs. Circles represent voids in the slab. I was looking for a fast way to quote these circles. Currently I have a lisp that convert...

    Started by MastroLube‎, 3rd Apr 2017 02:57 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 618
    21st Apr 2017 06:29 pm Go to last post
  21. Star My Lisp has a problem

    My lisp not save duplicate files. Order once I can not order again. I want to know how to write code to change name automatically. Multi-page order Please help me thank you :cry::cry::cry:

    Started by thiraman14‎, 21st Apr 2017 08:35 am
    • Replies: 1
    • Views: 260
    21st Apr 2017 12:56 pm Go to last post
  22. Set a UCS without saving the name Visual

    Hello all, Im strugelling with working with the UCS functions. I want to change my ucs to a given location, but, just like the refular UCS command, i want it to show as 'unnamed'. When i change...

    Started by Aftertouch‎, 20th Apr 2017 03:42 pm
    • Replies: 2
    • Views: 263
    21st Apr 2017 07:37 am Go to last post
  23. Selecting objects with similar geometry

    Hello everyone, The Selectsimilar is a great command, but I wonder if it is possible to somehow select objects with similar geometry. (not based on layer or color or etc...) For instance: You...

    Started by ToughD‎, 20th Apr 2017 03:15 pm
    • Replies: 6
    • Views: 330
    21st Apr 2017 03:58 am Go to last post
  24. Question Convert text to attribute

    I am creating blocks witch run from tag_1 to tag_6 and then from tag_7 to tag_12 for the next dwg and so on and takes time renaming all the tags for each block. So I like the create my tag_1 to...

    Started by rustym‎, 16th Mar 2009 12:44 pm
    4 Pages
    1 2 3 ... 4
    • Replies: 36
    • Views: 37,446
    20th Apr 2017 01:04 pm Go to last post
  25. Nearest point on extend poly line from a given point

    I need to find out Nearest point on extened Line / poly line from a given point . Please help

    Started by wimal‎, 20th Apr 2017 12:15 pm
    • Replies: 1
    • Views: 203
    20th Apr 2017 01:03 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