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

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: 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: 71,149
    18th Sep 2006 10:46 pm Go to last post
  2. 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: 82,304
    12th Aug 2010 08:09 am Go to last post
  1. # What does "Set" in Visual Basic 6, VBA and VB.net

    What does Set do in vb code? What does Set do in VBA. For example the statement Set LayerObject = LayerCollection.add(layerName) is used in AutoCAD VBA. What does Set do in Visual Basic...

    Started by muck‎, 4th Apr 2009 11:37 am
    • Replies: 1
    • Views: 3,107
    6th Apr 2009 03:26 pm Go to last post
  2. %% code file?

    Does anyone know the file where I can make a new %% code? or how to make a font with just a %% code?

    Started by Bennymac777‎, 22nd Mar 2010 06:05 pm
    • Replies: 4
    • Views: 2,067
    23rd Mar 2010 09:12 pm Go to last post
  3. Smile <-- this guy needs some help

    ;;;get a working list of all the layers (vl-load-com) (setq acadDocument (vla-get-activedocument (vlax-get-acad-object))) (setq layertable (vla-get-layers acadDocument)) ;;;make layers an...

    Started by btraemoore‎, 26th Apr 2012 08:23 pm
    4 Pages
    1 2 3 ... 4
    • Replies: 39
    • Views: 6,968
    7th May 2012 02:25 pm Go to last post
  4. <L>ost <I>n <S>tupid <P>arenthesis

    Apart from the fact that AutoLISP has been overcame by VB/VBA it remains one of the most interesting and easy language to program Autocad tools, I'm still fully convinced about this opinion... In...

    Started by ARKLisp‎, 14th Mar 2006 02:27 pm
    • Replies: 0
    • Views: 1,969
    14th Mar 2006 02:27 pm Go to last post
  5. "" Left Over on Exit

    This may be the cause of one of my other problems so hopefully this kills two birds with one stone. I have a lengthy program which runs through just fine, everything works as it should with the...

    Started by Bill Tillman‎, 17th Jan 2012 07:50 pm
    • Replies: 1
    • Views: 1,329
    18th Jan 2012 03:36 am Go to last post
  6. "-BEdit" Multiple Blocks

    Hi all! Please, someone can help me with this? I make this following LISP for edit a block and erase solids and hatch, but I need click one by one. I want make a window selection and then the...

    Started by Marcelo Marani‎, 29th Jan 2014 05:13 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 2,355
    31st Jan 2014 11:47 am Go to last post
  7. "... is currently in use by:" --> Can I close an opened document on a collegues PC?

    Hi guys, Since my collegue (=boss) tends to keep drawings open when having his weekend or day off, I experience the trouble not to be able to open that drawing. I'll have to make some calls and...

    Started by MarcoW‎, 29th Oct 2010 07:19 am
    2 Pages
    1 2
    • Replies: 15
    • Views: 5,197
    31st Oct 2010 06:38 pm Go to last post
  8. "0" is not showing in this Area lisp

    Found this area lisp somewhere & did some minor edit. But there is a problem. if the area is example 0.11, the text ouput will be .11m2. Can some tell me what to amend to have it show as 0.11m2 ...

    Started by tive29‎, 23rd Jun 2017 07:03 am
    • Replies: 2
    • Views: 460
    23rd Jun 2017 10:34 am Go to last post
  9. "3d stretch" macro for beginners

    Hello, :shock: a macro that works similarly to 2d stretch. It is based on move faces, so it does not move sub object and it only works for a solid at a time. For beginners like me. ...

    Started by marmo‎, 30th Sep 2010 04:26 am
    • Replies: 3
    • Views: 4,112
    30th May 2012 11:41 pm Go to last post
  10. "3D" Rectangle

    Hi, i would like to make rectangle (or close polyline) inside a 3d solid. Right now i use: Ucs + Face + first corner of rectangle and second corner of rectangle. I would like to do this...

    Started by whosa‎, 19th Jan 2017 10:10 am
    • Replies: 7
    • Views: 2,039
    23rd Jan 2017 09:48 am Go to last post
  11. "abc" to change "cba"

    (strcat "a" "b" "c") = "abc" Is there any quick method to get "cba"

    Started by wimal‎, 10th Dec 2011 09:28 am
    2 Pages
    1 2
    • Replies: 14
    • Views: 3,462
    12th Dec 2011 02:25 pm Go to last post
  12. "Arc"-like Leader

    When I used to use R14, I had a customized leader command where the first click was the endpoint of a leader (as usual), the second click was like the midpoint of an arc, and the third click was the...

    Started by calafragilistic‎, 3rd Feb 2011 01:07 am
    • Replies: 6
    • Views: 12,336
    6th May 2015 06:11 pm Go to last post
  13. "break" & entlast

    Maybe an easy one... If I use the command "break" to break a line into 2 entities, then how can I capture it into 2 new separate variables. If I use (setq e1 (entlast)) it will only return one...

    Started by Small Fish‎, 7th Jul 2010 09:24 pm
    • Replies: 9
    • Views: 3,466
    8th Jul 2010 12:42 am Go to last post
  14. "Cannot find .DCL file."

    I got this message once before, and remember fixing it by putting the *.DCL file in the same folder as the *.LSP file instead of the directory level right above. Pretty simple fix. I'm getting...

    Started by slimjramirez‎, 2nd Dec 2008 09:42 pm
    • Replies: 4
    • Views: 7,168
    11th Dec 2008 03:29 pm Go to last post
  15. Unhappy "CECOLOR" error

    I'm trying to make the layer color switch before it draws a line but when I execute the lisp I get the error code: "Program ERROR: AutoCAD variable setting rejected: "CECOLOR" 7" can anyone tell...

    Started by KrazyMann225‎, 11th Jul 2011 04:37 pm
    • Replies: 6
    • Views: 3,832
    11th Jul 2011 07:30 pm Go to last post
  16. "chamfer" unknown command in lisp routine

    I have been trying to debug this and nothing I do seems to work. I am writing a simple routine to draw two lines and then a chamfer. It makes my lines but does not recognize the "chamfer" command. I...

    Started by cso‎, 28th Apr 2011 04:10 pm
    • Replies: 5
    • Views: 4,947
    28th Apr 2011 06:49 pm Go to last post
  17. "Change" Macro

    I would like to create a macro using the "change" command. I would like to have it change the objects I select to bylayer color. How can I achieve this with the control characters used in macros?

    Started by johnengineer‎, 27th Jan 2009 01:33 am
    • Replies: 7
    • Views: 2,934
    27th Jan 2009 03:47 pm Go to last post
  18. "Command document mismatch".

    I logged in as normal this morning and started ACAD 2004, but when I clicked on FILLET for the first time nothing happened, and then I looked at the command line and saw "Visual LISP command document...

    Started by Cadastrophic‎, 16th Aug 2005 06:01 am
    • Replies: 2
    • Views: 6,370
    16th Aug 2005 09:37 am Go to last post
  19. "cp" lisp (copypaste) for text and mtext

    How to modify this lisp CP to change also MTEXT not only for TEXT? Thanks (defun c:cp (/ Ent TextSource SelSet Items Index EntDxf ) (command "_.UNDO" "BEgin" ) (if (setq Ent (entsel "Select...

    Started by Houdini88‎, 6th Mar 2014 03:07 pm
    cp mtext text
    • Replies: 1
    • Views: 1,511
    6th Mar 2014 05:10 pm Go to last post
  20. "ddshapes" lisp help

    We use a steel library lisp to create our w-beams, tube steel, etc. I have it running on acad 2000i, but when we drop it into 2005 support, or 2007 support, we get an error saying: Error: bad...

    Started by geoffc‎, 13th Apr 2006 06:03 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 7,403
    25th May 2006 09:06 pm Go to last post
  21. Exclamation "Dialog Too Large To Fit on Screen"

    Hi Guys, I'm Currently working on a .DCL file, it has around 160 'check boxes' and unfortunately its too large for the screen. :( after running the program i get this error:- Dialog too large...

    Started by Bladezy‎, 10th Apr 2013 06:37 am
    • Replies: 4
    • Views: 2,528
    11th Apr 2013 04:16 am Go to last post
  22. Idea "Drawing Manager" Tool...

    Hey guys, This thread is sort of following up on another topic I started (here). I just wanted to enquire about the complexity of creating such a program. Backtracking a little... Currently...

    Started by lamensterms‎, 16th Feb 2014 02:08 pm
    • Replies: 0
    • Views: 1,171
    16th Feb 2014 02:08 pm Go to last post
  23. "Dynamic Block Counter" create a table.

    Hi all I found LeeMac's awesome program "Dynamic Block Counter" that counts blocks.but my issues is that create a table. Please have anyone can help me try to modification this lisp? Thanks a lot!!

    Started by chico1201‎, 15th Jun 2015 05:10 pm
    • Replies: 7
    • Views: 2,419
    17th Jun 2015 02:11 pm Go to last post
  24. "echo" of the "base" command

    Hi all, I've got drawings who are made from wblocks. They were part of one drawing before, and so the base point is not 0,0,0 anymore. Is it possible to record the echo of the command "base"...

    Started by Sittingbull‎, 18th Feb 2011 11:46 am
    2 Pages
    1 2
    • Replies: 17
    • Views: 5,969
    20th Feb 2011 02:15 pm Go to last post
  25. Unhappy "educational...." at the plotting

    how we can make banner such as "educational...." at the plotting

    Started by hosyn‎, 21st May 2013 10:41 pm
    • Replies: 6
    • Views: 2,636
    26th May 2013 03:35 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