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

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: 94,660
    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: 77,044
    18th Sep 2006 10:46 pm Go to last post
  1. Blade presentation by Stve Johnson

    BLADE Presentation by Steve Johnson - Brisbane 19 April 2018 https://t.co/vVrLcLEyTI

    Started by halam‎, Today 06:00 am
    • Replies: 0
    • Views: 1
    Today 06:00 am Go to last post
  2. Polyline to text

    Hello Hello i have simple question. How to calculate values shown in the attachment (polyline) using LISP?

    Started by jan_ek‎, 19th Mar 2018 04:39 pm
    • Replies: 5
    • Views: 601
    Yesterday 10:55 pm Go to last post
  3. AutoCAD Rename Layer by Part of old layer name

    Hello Everyone. I have a Lisp to rename the Layer by Part of Layer name. but the code is not working. (defun C:Test() (if (setq xlay (ssget "_X" '((8 . "*_Proposed_*")))) (command "-layer" "r"...

    Started by acad1985‎, 21st Apr 2018 06:45 pm
    • Replies: 7
    • Views: 237
    Yesterday 03:49 pm Go to last post
  4. Deviation arrow LISP

    Hello, I'm new to the forum, I would like to ask you for help. I need a program / application (LISP) which will insert a deviation dart and a distance from a point to a straight line. More ...

    Started by MaT02‎, Yesterday 03:26 pm
    • Replies: 0
    • Views: 90
    Yesterday 03:26 pm Go to last post
  5. Edit block insertion point

    I need a code to edit block insertion point without any changes to other settings.Please help.

    Started by wimal‎, Yesterday 08:24 am
    • Replies: 2
    • Views: 122
    Yesterday 10:30 am Go to last post
  6. Draw polyline along with 2 or more adjacent closed polylines

    Hi i required a lisp to draw a poly line along with 2 closed poly lines. If i pick 2 vertexes on 2 polygons, 1 new poly line should be created between these two points along with polygon walls. can...

    Started by chvnprasad‎, 25th Mar 2012 09:47 am
    5 Pages
    1 2 3 ... 5
    • Replies: 47
    • Views: 32,644
    22nd Apr 2018 02:57 pm Go to last post
  7. Multiple/Quick SaveAs

    Hi guys, Today I had to save as multiple dwgs into a different dwg version and I ended up with this: Batched it quickly ( I hate/try to avoid using browser dialogs, when I don't have to ) : ...

    Started by Grrr‎, 18th Apr 2018 01:27 pm
    • Replies: 9
    • Views: 343
    22nd Apr 2018 12:43 pm Go to last post
  8. Help updating lisp

    Hello All, We have been using a lisp program which runs on the .dxf or .dwg exported from the Design engineer to create additional detailing and extract the quantity with our existing lisp (design...

    Started by kareemuddin‎, 22nd Apr 2018 09:39 am
    • Replies: 2
    • Views: 146
    22nd Apr 2018 10:36 am Go to last post
  9. draw special shape as Line

    Hello can any one help to draw the shape as in attached image

    Started by motee-z‎, 20th Apr 2018 11:34 am
    2 Pages
    1 2
    • Replies: 10
    • Views: 394
    21st Apr 2018 11:28 pm Go to last post
  10. Batch Find & Replace Text

    Batch Find & Replace Text This program uses ObjectDBX to perform multiple text replacements on the current drawing or a complete directory (and subdirectories) of drawings. The program has the...

    Started by Lee Mac‎, 23rd Mar 2010 11:06 pm
    34 Pages
    1 2 3 ... 34
    • Replies: 334
    • Views: 165,561
    20th Apr 2018 11:23 pm Go to last post
  11. Help with a lisp - Areas from closed polygons to current (opened) excel file

    Hello As you may already know i am new to the forum, but not so new to autocad (been using it almost for 10 years), but i am really new to this autolisp world (and vba for that matter), i am...

    Started by xxfaxx‎, 7th Feb 2018 08:37 pm
    • Replies: 6
    • Views: 405
    20th Apr 2018 04:16 pm Go to last post
  12. Isolate Layer by Select

    hi all, i need a lisp program to isolate layer by select polyline, is there a direct code to isolate by autolisp or i have to use function??

    Started by amir0914‎, 20th Apr 2018 11:59 am
    • Replies: 7
    • Views: 192
    20th Apr 2018 03:43 pm Go to last post
  13. Find and Replace Question

    Hello all, When using the find command, is there a way (i assume there is and Im missing something) that i can do the following. Lets say i have a drawing full of numbers, wire numbers to be...

    Started by Lawrst‎, 19th Apr 2018 01:24 am
    • Replies: 5
    • Views: 196
    20th Apr 2018 11:07 am Go to last post
  14. Dynamic Blocks visibility and insert scales

    When we insert a dynamic block to a difference X Y scales, the visibility state does not functioning.Is there any lisp codes to reset the visibility states.

    Started by wimal‎, 19th Apr 2018 09:08 am
    • Replies: 2
    • Views: 175
    20th Apr 2018 10:59 am Go to last post
  15. vla-put-Normal

    this is probably super simple but can't find the answer: (setq apr (vlax-ename->vla-object (entlast)));#<VLA-OBJECT IAcadRegion 000002c2d9920cb8> (vla-put-Normal apr '(0.0 0.0 1.0)); error:...

    Started by eimimitu‎, 16th Apr 2018 10:01 pm
    3 Pages
    1 2 3
    ename, normal, object, region, vla
    • Replies: 24
    • Views: 682
    20th Apr 2018 01:55 am Go to last post
  16. Area split equal.

    Hello, I need one help to do a LISP that can execute it: get one irregular area, and split it according a specific aredea defined, like, 100 m², and I need to split it in 25 m² (I know that it...

    Started by CafeJr‎, 7th Oct 2013 08:13 pm
    6 Pages
    1 2 3 ... 6
    • Replies: 53
    • Views: 36,952
    19th Apr 2018 08:45 pm Go to last post
  17. Help with My Lisp Please

    Hi all, Ok so I have this small lisp and I'm still learning on how to work with these. I have the following code. It works fine for one time and then I have to retype "RBB1" because if I right...

    Started by Dj_T_Rex2002‎, 17th Apr 2018 04:13 pm
    • Replies: 7
    • Views: 347
    19th Apr 2018 05:39 pm Go to last post
  18. Smile Hatch Inherit Properties

    Hi, I was just wondering if there is a button or command to set Hatch Inherit Properties? I don't want to do the whole Match Properties because that is really tideous if you are dealing with a lot of...

    Started by Dj_T_Rex2002‎, 12th Apr 2018 03:08 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 359
    19th Apr 2018 04:04 am Go to last post
  19. Setting Visibility State based on Attribute value

    Hi, I have a dwg with a bunch of the same block in it (called Cabinet). This particular block has a number of visibility states. I have assigned an attribute (called SetVisState) to the block...

    Started by Nomad‎, 10th Dec 2015 03:22 am
    2 Pages
    1 2
    attribute, visibility state
    • Replies: 11
    • Views: 4,171
    18th Apr 2018 04:33 pm Go to last post
  20. Change color (RGB) of objects in a selection set

    Hello together, I thought I have a simple task to perform, but unfortunately it turned out to be more difficult than I expected: I have in my lisp a code to select all elements in a drawing...

    Started by Ament‎, 17th Apr 2018 02:13 pm
    • Replies: 6
    • Views: 213
    18th Apr 2018 03:36 am Go to last post
  21. Question Add to Block By Lee Mac

    All, I was wondering if anyone else was having a problem using Lee Mac's "Add to Block " on a dynamic block? Recently our title blocks have changed over to dynamic and now I cant use "Add to...

    Started by BrianTFC‎, 30th Mar 2018 12:46 pm
    2 Pages
    1 2
    add to block, lee mac
    • Replies: 10
    • Views: 588
    17th Apr 2018 10:39 pm Go to last post
  22. How to work with every type of text

    Hello, while I was looking for ways to copy texts, I came across this topic http://www.cadtutor.net/forum/showthread.php?87782-Are-there-a-way-copy-and-paste-via-clipboard-by-lisp where I found...

    Started by itacad‎, 26th Mar 2018 09:25 pm
    2 Pages
    1 2
    • Replies: 14
    • Views: 649
    17th Apr 2018 10:09 pm Go to last post
  23. Gathering all text into a CSV or TXT file?

    Hi all, Does anyone have a script that will take all DTEXT and MTEXT objects in a selection window, and export them all as a separate line in a TXT file of some sort?

    Started by muzicman82‎, 17th Apr 2018 06:11 pm
    • Replies: 3
    • Views: 147
    17th Apr 2018 07:46 pm Go to last post
  24. Unhappy How to read UTF-8 Encoding?

    Hello everyone I try to make code to read data from .txt file and fill to object data table in Autocad Map, but it was show ???????? Cloud you please help me?

    Started by mit‎, 10th Apr 2018 03:28 pm
    • Replies: 5
    • Views: 339
    17th Apr 2018 02:50 pm Go to last post
  25. My first Lisp

    After the last six months using full Autocad I have finally taken the plunge into Lisp (there's still life in the old dog yet) So here is my first efforts it's actually designed to help me in...

    Started by steven-g‎, 13th Apr 2018 08:22 am
    2 Pages
    1 2
    • Replies: 19
    • Views: 606
    17th Apr 2018 11:33 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