+ Post New Thread
Page 5 of 555 FirstFirst ... 3 4 5 6 7 15 55 105 505 ... LastLast
Threads 101 to 125 of 13863

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: 43,933
    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: 52,405
    18th Sep 2006 10:46 pm Go to last post
  1. Draw Full Grid

    Help this topic how to draw grid specific interval

    Started by sanju2323‎, 23rd Feb 2015 02:05 pm
    • Replies: 3
    • Views: 666
    23rd Jan 2016 12:35 pm Go to last post
  2. Question Little changes in a lisp

    (defun c:CS ( / a d d1 num ) (defun *error* (msg) (setq a nil d nil d1 nil num nil)(princ) );end** (if (not usercs) (setq usercs (getvar "textstyle")) );if (setq a (strcase (getstring (strcat...

    Started by sergiu_ciuhnenco‎, 22nd Jan 2016 03:00 pm
    • Replies: 3
    • Views: 311
    23rd Jan 2016 08:16 am Go to last post
  3. How to display/read the text file just created by same lisp

    Hi, Good Morning, Glad to meet you all.:) I am a newbie here, this is my first post. please consider my knowledge in writing lisp routines are at basic level. Please help me in this issue. ...

    Started by hari-babu‎, 21st Jan 2016 02:14 pm
    • Replies: 7
    • Views: 407
    23rd Jan 2016 08:07 am Go to last post
  4. Filter for small parts (ssget)

    Hi there, I am looking for a way to get rid of small volume parts in a DWG file. In some cases we recieve the most 'dumbest' export models you can think of in DWG. Bolts and rings make the...

    Started by halam‎, 21st Jan 2016 11:39 pm
    • Replies: 4
    • Views: 352
    22nd Jan 2016 08:39 pm Go to last post
  5. Get "command" after running LISP

    I had a quick question involving a simple LISP that I wrote that gives the cumulative hatch area. At the very end of the LISP I am printing 3 lines of information to the command line using princ. How...

    Started by broncos15‎, 19th Jan 2016 10:41 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 613
    22nd Jan 2016 07:12 pm Go to last post
  6. Declaring Local Variables & Arguements for sub functions

    I expect all you experienced will find this question really easy, but here goes: I'm confused as to what should be declared in the ( / ) after the define functions in the two variations of code....

    Started by Happy Hobbit‎, 21st Dec 2015 09:17 am
    2 Pages
    1 2
    • Replies: 10
    • Views: 477
    22nd Jan 2016 06:33 pm Go to last post
  7. Having a hard time undefining a command

    So I have a quick question about undefining the command overkill. I wrote a LISP that would only allow overkill in certain circumstances. I then tried to undefined adding in (command "UNDEFINE"...

    Started by broncos15‎, 22nd Jan 2016 04:28 pm
    • Replies: 1
    • Views: 189
    22nd Jan 2016 04:41 pm Go to last post
  8. few beginner's question

    Hi everybody I have few question about AutoLISP. before that, I would like to write few lines about my AutoCAD-related skills. I can use 2D CAD almost perfectly and I know some basic features of...

    Started by honestbud‎, 22nd Jan 2016 07:39 am
    2 Pages
    1 2
    autocad lisp, lisp
    • Replies: 13
    • Views: 578
    22nd Jan 2016 04:27 pm Go to last post
  9. [B]Double Quotes within a string[/B]

    (setq FILEPATH "D:\\test\\csvextract\\Errorlog.txt") ;FILEPATH is a variable I want to write below line as it is to a text file. Assume that is "D:\\dummy.txt" (see "notepad"...

    Started by hari-babu‎, 22nd Jan 2016 11:55 am
    • Replies: 9
    • Views: 286
    22nd Jan 2016 01:25 pm Go to last post
  10. Convert multiple circles into points

    Hi all. I have recieved a CAD file which has just over 1000 circles. I need to convert all the circles to points. Autolisp is over my head - can anyone help? Thanks

    Started by LEIGH‎, 22nd May 2011 01:49 pm
    • Replies: 8
    • Views: 5,752
    22nd Jan 2016 06:36 am Go to last post
  11. Add in an undo in these sections while lisp is running

    This lisp is intended to setup a grid system for measuring purposes. The While loop goes until an Enter and then advances to the next set. If the user keys the wrong value then need to be able to...

    Started by EricDevault‎, 21st Jan 2016 04:32 pm
    • Replies: 1
    • Views: 249
    22nd Jan 2016 03:10 am Go to last post
  12. Line crossing coordinates will auto save in table (posible or not)

    Line crossing coordinates will auto save in table (posible or not) I need a program that will save all the line crossing coordinates and its title

    Started by Leinad‎, 21st Jan 2016 09:34 pm
    • Replies: 1
    • Views: 216
    22nd Jan 2016 02:55 am Go to last post
  13. Question Redefining a block as it's inserted

    Hi guys and gals, What's the best way to update a titleblock? When a block of the same name that has been changed is inserted using the command line you are asked if you want to redefine it. When...

    Started by LosGirk‎, 21st Jan 2016 05:00 pm
    • Replies: 2
    • Views: 202
    21st Jan 2016 06:11 pm Go to last post
  14. Can't change line coordinates

    I'm trying to increase a vertical line height by fixing the point with the lowest Y coordinate (defun c:inclength ( / trama e o s x z y w obj patternName a b ponto1 ponto2 diferenca processo) ...

    Started by CesarA‎, 21st Jan 2016 11:48 am
    • Replies: 3
    • Views: 249
    21st Jan 2016 04:12 pm Go to last post
  15. Feet to Metres LISP?

    Hello, I am not versed in the language of LISP. Could someone please edit the following .lsp for me, changing the resultant spreadsheet from feet and inches into metres? Thanks in advance. ...

    Started by Sideshow-Cad‎, 21st Jan 2016 11:04 am
    • Replies: 2
    • Views: 232
    21st Jan 2016 02:32 pm Go to last post
  16. Recursive vl-directory-files without prefix & suffix

    Hi, I'm on the hunt for a recursive alternative to vl-directory-files (that will search subdirectories), that will remove the directory prefix & file extension. I've tried Lee Mac's...

    Started by lamensterms‎, 20th Jan 2016 03:45 am
    • Replies: 3
    • Views: 376
    21st Jan 2016 09:30 am Go to last post
  17. assign linetype, color, lineweight of PL from drawing to layer.

    Hi All, I'm looking for LISP routine that would be able to get attributes (linetype, color, lineweight) of drawn polyline and assign them to layer. Explanation in DWG attached.

    Started by artti‎, 20th Jan 2016 11:47 pm
    • Replies: 2
    • Views: 213
    21st Jan 2016 12:30 am Go to last post
  18. Dynamic blocks, attribute names and values

    Hello guys, I'm working on some heavily modified lisp routine (original is from Lee Mac), and I'm trying to set quotes for effective blockname, and a number of attribute names with their values with...

    Started by Grrr‎, 19th Jan 2016 09:09 pm
    • Replies: 7
    • Views: 349
    20th Jan 2016 07:21 pm Go to last post
  19. Legend Check Box

    Hey guys I really would like to get some help in a getting a starting place to make a legend checkbox button. I'd like to create a button that would bring up a list of symbols and lines with...

    Started by russell84‎, 19th Feb 2008 08:13 pm
    4 Pages
    1 2 3 ... 4
    • Replies: 34
    • Views: 17,837
    20th Jan 2016 09:04 am Go to last post
  20. Inverse of Transformation Matrix returned by NENTSEL

    I have the following code that transforms a point using the transformation matrix returned by NENTSEL from Model to World. (defun SXH:transmatrix (mat p) (setq x (+ (* (car (nth 0...

    Started by Hippe013‎, 10th Nov 2015 06:54 pm
    • Replies: 8
    • Views: 420
    20th Jan 2016 01:18 am Go to last post
  21. Accessing CIV3D database in 2016

    I am having problems now I have installed CIV3D 2016 and this routine gives errors and I do understand the appstr "13.0" may be the wrong number but I seem to be getting errors before I can try a...

    Started by BIGAL‎, 18th Jan 2016 09:10 am
    2 Pages
    1 2
    • Replies: 14
    • Views: 524
    20th Jan 2016 01:05 am Go to last post
  22. Understanding SSget object queue number (are they random?)

    I've wrote a piece of code in the hope of working out a list of vertical objects. I tought autocad select window would pick the objects accordingly to their height, but when trying the code, i...

    Started by CesarA‎, 19th Jan 2016 08:37 pm
    • Replies: 1
    • Views: 220
    19th Jan 2016 08:46 pm Go to last post
  23. Editing sub-entities in a object

    While checking for dxf group codes in a text with a field inside I've found some <Entities> inside it, wich i looked further. For example, i would directly get Select entity((-1 . <Entity name:...

    Started by CesarA‎, 19th Jan 2016 04:25 pm
    • Replies: 6
    • Views: 304
    19th Jan 2016 08:31 pm Go to last post
  24. Lisp works in Vs. 2015 but not in Vs. 2016?

    I have a lisp routine that I use extensively, don't know who wrote it or where it came from but have been using it for 10-15 years. Not real lisp savy so I'm asking if anyone knows why this may work...

    Started by pioptl‎, 14th Jan 2016 09:50 pm
    • Replies: 4
    • Views: 368
    19th Jan 2016 07:55 pm Go to last post
  25. Line and Curve Renumbering LISP

    So I am trying to create LISP routine that would allow the user to select a line or curve label and then renumber all the line or curve labels based off of that input. My code is as follows (defun...

    Started by broncos15‎, 13th Jan 2016 05:27 pm
    • Replies: 4
    • Views: 433
    19th Jan 2016 06:47 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