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

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,548
    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,005
    18th Sep 2006 10:46 pm Go to last post
  1. 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,526
    Today 02:57 pm Go to last post
  2. 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: 306
    Today 12:43 pm Go to last post
  3. 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‎, Today 09:39 am
    • Replies: 2
    • Views: 80
    Today 10:36 am Go to last post
  4. 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‎, Yesterday 06:45 pm
    • Replies: 3
    • Views: 125
    Today 09:04 am Go to last post
  5. 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: 341
    Yesterday 11:28 pm Go to last post
  6. 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,336
    20th Apr 2018 11:23 pm Go to last post
  7. 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: 384
    20th Apr 2018 04:16 pm Go to last post
  8. 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: 167
    20th Apr 2018 03:43 pm Go to last post
  9. 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: 173
    20th Apr 2018 11:07 am Go to last post
  10. 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: 157
    20th Apr 2018 10:59 am Go to last post
  11. 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: 642
    20th Apr 2018 01:55 am Go to last post
  12. 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,895
    19th Apr 2018 08:45 pm Go to last post
  13. 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: 326
    19th Apr 2018 05:39 pm Go to last post
  14. 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: 327
    19th Apr 2018 04:04 am Go to last post
  15. 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,140
    18th Apr 2018 04:33 pm Go to last post
  16. 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: 195
    18th Apr 2018 03:36 am Go to last post
  17. 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: 560
    17th Apr 2018 10:39 pm Go to last post
  18. 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: 624
    17th Apr 2018 10:09 pm Go to last post
  19. 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: 127
    17th Apr 2018 07:46 pm Go to last post
  20. 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: 324
    17th Apr 2018 02:50 pm Go to last post
  21. 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: 584
    17th Apr 2018 11:33 am Go to last post
  22. Embarrassed Include " when using STRCAT

    Dear coders I am trying to include " when using strcat Afaik you need to use \ or / in combinatiuon with extra " to get "something here" when using strcat So I want to do this

    Started by DGRL‎, 16th Apr 2018 02:20 pm
    3 Pages
    1 2 3
    • Replies: 24
    • Views: 415
    17th Apr 2018 09:48 am Go to last post
  23. Grab block from one drawing and insert into another via a lisp

    Hi All, Not sure if this is possible but I'm looking for a way to grab a block that is a block in one drawing and insert it into another drawing via a lisp function The scenario is that i have...

    Started by Mark_ATCW‎, 13th Apr 2018 04:51 am
    3 Pages
    1 2 3
    • Replies: 20
    • Views: 597
    17th Apr 2018 09:42 am Go to last post
  24. Trim lines around text - help

    Hi guys, I need a lisp to l trim lines around texts - at a given value - to work this way: select texts or mtexts, insert value for distance around text, and trim all lines that intersect all texts...

    Started by flopo‎, 25th Nov 2011 11:32 am
    • Replies: 9
    • Views: 4,793
    17th Apr 2018 09:32 am Go to last post
  25. Idea Using Overkill Command in Block

    Hi to all, Using overkill command is very great help in deleting some overlapping in the dwg. Is there a command or LISP that can delete any overlapped blocks(block with attribute)? Hoping...

    Started by Mystogan‎, 11th Apr 2018 06:51 am
    • Replies: 5
    • Views: 289
    17th Apr 2018 05:28 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