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

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,452
    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: 76,959
    18th Sep 2006 10:46 pm Go to last post
  1. 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‎, Today 11:59 am
    • Replies: 5
    • Views: 33
    Today 01:13 pm Go to last post
  2. draw special shape as Line

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

    Started by motee-z‎, Today 11:34 am
    • Replies: 3
    • Views: 58
    Today 12:37 pm Go to last post
  3. 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: 7
    • Views: 211
    Today 11:55 am Go to last post
  4. 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‎, Yesterday 01:24 am
    • Replies: 5
    • Views: 131
    Today 11:07 am Go to last post
  5. 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‎, Yesterday 09:08 am
    • Replies: 2
    • Views: 117
    Today 10:59 am Go to last post
  6. 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: 572
    Today 01:55 am Go to last post
  7. 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,814
    Yesterday 08:45 pm Go to last post
  8. 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: 5
    • Views: 317
    Yesterday 08:39 pm Go to last post
  9. 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: 298
    Yesterday 05:39 pm Go to last post
  10. 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: 302
    Yesterday 04:04 am Go to last post
  11. 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,114
    18th Apr 2018 04:33 pm Go to last post
  12. 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: 169
    18th Apr 2018 03:36 am Go to last post
  13. 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: 528
    17th Apr 2018 10:39 pm Go to last post
  14. 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: 590
    17th Apr 2018 10:09 pm Go to last post
  15. 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: 108
    17th Apr 2018 07:46 pm Go to last post
  16. 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: 307
    17th Apr 2018 02:50 pm Go to last post
  17. 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: 551
    17th Apr 2018 11:33 am Go to last post
  18. 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: 351
    17th Apr 2018 09:48 am Go to last post
  19. 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: 556
    17th Apr 2018 09:42 am Go to last post
  20. 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,773
    17th Apr 2018 09:32 am Go to last post
  21. 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: 275
    17th Apr 2018 05:28 am Go to last post
  22. Turn a lisp and a script into 1 lisp file

    Hi All, I'm new to this forum so i hope i have posted this in the correct place, please let me know if i haven't! Ok to get started i have a script that i run before i print a drawing but it...

    Started by Mark_ATCW‎, 27th Mar 2018 07:09 am
    • Replies: 7
    • Views: 277
    17th Apr 2018 05:23 am Go to last post
  23. Error in this line

    Hi All #(setq Cloud (getstring("\nEnter an Option P or O )))# Can you tell me why this line is producing an error? This is the error: .Cannot invoke (command) from *error* without prior call...

    Started by TunzaGibbo‎, 14th Apr 2018 01:25 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 306
    17th Apr 2018 03:57 am Go to last post
  24. ; error: too many arguments

    This is happening after I post the name of the lisp to the command line. I can't spot the error in it. It has always worked before. The lisp is supposed to search out text and attribute values and...

    Started by bustr‎, 16th Apr 2018 08:53 pm
    arguments, error, lisp
    • Replies: 4
    • Views: 112
    16th Apr 2018 09:51 pm Go to last post
  25. vl-file-delete returns always nil + suggestion

    Hi there! I've wrote this lisp in order to make a little bit faster the cleaning of the output of my FEM. I don't understand why I'm not able to delete the source dxf. What's wrong? (defun...

    Started by MastroLube‎, 10th Apr 2018 10:58 am
    2 Pages
    1 2
    • Replies: 13
    • Views: 382
    16th Apr 2018 09:35 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