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

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,736
    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,079
    18th Sep 2006 10:46 pm Go to last post
  1. 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‎, Yesterday 01:58 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 180
    Today 04:57 pm Go to last post
  2. Lines between two polylines

    Hi everybody , I want to find a lisp that would draw series of short perpendicular lines of a predefined length to show the slope from the edge of formation (or edge of road platform which is a...

    Started by aloy‎, Today 03:46 am
    • Replies: 4
    • Views: 138
    Today 04:55 pm Go to last post
  3. 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‎, Yesterday 06:31 am
    • Replies: 1
    • Views: 74
    Today 04:29 pm Go to last post
  4. Purge All LISP

    Hello, I'm new to the forum, I would like to ask you for help. I want to add "purge all" command to my lisp. How can I do it ? There is my LISP (defun c:BTR() (command "-layer" "ON" "*"...

    Started by rayaz‎, Today 03:49 pm
    • Replies: 3
    • Views: 40
    Today 04:19 pm Go to last post
  5. Simple Layer Delete Lisp

    This is a simple "delete these layers" lisp program. I get drawings where I have to delete layers that are not on an approved list. So I just figure out what the unapproved layers are, make sure...

    Started by GregGleason‎, Today 04:15 pm
    • Replies: 0
    • Views: 19
    Today 04:15 pm Go to last post
  6. 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‎, 23rd Apr 2018 03:26 pm
    • Replies: 5
    • Views: 281
    Today 03:43 pm Go to last post
  7. 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: 48
    • Views: 32,732
    Today 03:41 am Go to last post
  8. 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‎, Yesterday 05:09 pm
    autolisp, layout, lisp, view
    • Replies: 0
    • Views: 79
    Yesterday 05:09 pm Go to last post
  9. 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: 685
    Yesterday 08:26 am Go to last post
  10. Blade presentation by Stve Johnson

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

    Started by halam‎, Yesterday 06:00 am
    • Replies: 0
    • Views: 110
    Yesterday 06:00 am Go to last post
  11. 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: 268
    23rd Apr 2018 03:49 pm Go to last post
  12. Edit block insertion point

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

    Started by wimal‎, 23rd Apr 2018 08:24 am
    • Replies: 2
    • Views: 149
    23rd Apr 2018 10:30 am Go to last post
  13. 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: 185
    22nd Apr 2018 01:24 pm Go to last post
  14. 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: 372
    22nd Apr 2018 12:43 pm Go to last post
  15. 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
  16. 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,767
    20th Apr 2018 11:23 pm Go to last post
  17. 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: 414
    20th Apr 2018 04:16 pm Go to last post
  18. 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: 215
    20th Apr 2018 03:43 pm Go to last post
  19. 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: 204
    20th Apr 2018 11:07 am Go to last post
  20. 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: 184
    20th Apr 2018 10:59 am Go to last post
  21. 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: 699
    20th Apr 2018 01:55 am Go to last post
  22. 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: 37,027
    19th Apr 2018 08:45 pm Go to last post
  23. 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: 366
    19th Apr 2018 05:39 pm Go to last post
  24. 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: 375
    19th Apr 2018 04:04 am Go to last post
  25. 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,197
    18th Apr 2018 04:33 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