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

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,711
    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,061
    18th Sep 2006 10:46 pm Go to last post
  1. Lisp to create and name layouts and restore views by reading excel or notepad file?

    Hi everyone, I'm new to using macros/lisps in AutoCAD, though I do have a small programming background in some other programs. To give you some background on what I'm trying to do: I have a big...

    Started by bkirtland‎, Today 05:09 pm
    autolisp, layout, lisp, view
    • Replies: 0
    • Views: 49
    Today 05:09 pm Go to last post
  2. Place block on both ends of all lines

    Hello, can someone help me with a lisp I have a block which I want to place (block) on both ends of all lines using lisp I have also attached image showing the same for better understanding ...

    Started by kareemuddin‎, Today 01:58 pm
    • Replies: 4
    • Views: 124
    Today 03:59 pm Go to last post
  3. 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: 3
    • Views: 211
    Today 01:14 pm Go to last post
  4. 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: 6
    • Views: 679
    Today 08:26 am Go to last post
  5. Unhappy Inserting Dynamic Blocks along the points of Polyline using LISP

    Hi, I want a LISP routine which can insert blocks along the polyline. I have two dynamic blocks. They are 'Straight Duct' and 'Elbow90'. Consider I draw a polyline with three XY coordinates i.e....

    Started by sanetmunde‎, Today 06:31 am
    • Replies: 0
    • Views: 42
    Today 06:31 am Go to last post
  6. 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: 96
    Today 06:00 am Go to last post
  7. 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: 8
    • Views: 257
    Yesterday 03:49 pm Go to last post
  8. 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: 140
    Yesterday 10:30 am Go to last post
  9. 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,670
    22nd Apr 2018 02:57 pm Go to last post
  10. 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: 3
    • Views: 177
    22nd Apr 2018 01:24 pm Go to last post
  11. 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: 353
    22nd Apr 2018 12:43 pm Go to last post
  12. Moved: draw special shape as Line

    Started by motee-z‎, 20th Apr 2018 11:34 am
    • Replies: -
    • Views: -
    21st Apr 2018 11:28 pm Go to last post
  13. 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,689
    20th Apr 2018 11:23 pm Go to last post
  14. 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: 411
    20th Apr 2018 04:16 pm Go to last post
  15. 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: 200
    20th Apr 2018 03:43 pm Go to last post
  16. 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: 201
    20th Apr 2018 11:07 am Go to last post
  17. 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: 180
    20th Apr 2018 10:59 am Go to last post
  18. 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: 693
    20th Apr 2018 01:55 am Go to last post
  19. 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,971
    19th Apr 2018 08:45 pm Go to last post
  20. 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: 358
    19th Apr 2018 05:39 pm Go to last post
  21. 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: 366
    19th Apr 2018 04:04 am Go to last post
  22. 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,188
    18th Apr 2018 04:33 pm Go to last post
  23. 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: 221
    18th Apr 2018 03:36 am Go to last post
  24. 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: 593
    17th Apr 2018 10:39 pm Go to last post
  25. 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: 655
    17th Apr 2018 10:09 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