+ Post New Thread
Page 1 of 494 1 2 3 11 51 101 ... LastLast
Threads 1 to 25 of 12328

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: 29,279
    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: 45,347
    18th Sep 2006 10:46 pm Go to last post
  1. Apparent intersection between two objects

    Hello! It can get the apparently intersection points between two objects ?

    Started by Costinbos77‎, 9th Feb 2014 03:07 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 721
    Today 08:03 am Go to last post
  2. AutoCAD Get Mac add & Get Net time

    ;;Get MAC add. (defun GetNetMac (/id lox serv wmiobj) (setq WMIobj (vlax-create-object "wbemScripting.SwbemLocator") serv (vlax-invoke WMIobj 'ConnectServer "." "\\root\\cimv2" "" "" ...

    Started by AIberto‎, Yesterday 06:08 pm
    • Replies: 2
    • Views: 78
    Today 05:38 am Go to last post
  3. Working Point Lisp

    Hey guys, I'm trying to make a lisp where the user would pick a point in the model and the lisp would create a multileader in paperspace with the coordinates pulled from the model. Here's the...

    Started by chiimayred‎, Yesterday 06:59 pm
    autolisp, multileader, point, points
    • Replies: 4
    • Views: 120
    Today 02:46 am Go to last post
  4. Change files attributes

    Does anyone know how to change the attributes of several files to read-only with lisp?

    Started by antistar‎, Yesterday 08:57 pm
    • Replies: 1
    • Views: 86
    Today 02:39 am Go to last post
  5. lisp to place "points" at midpoint of pipe fittings

    We have been manually placing control points at the midpoint of pipe fittings. The "point" is actually a small CADMEP object.We do this to export to a robotic station for marking locations in field....

    Started by pipefitter72‎, 25th Oct 2014 01:59 am
    2 Pages
    1 2
    • Replies: 18
    • Views: 577
    Today 02:33 am Go to last post
  6. Change XREF Name with specific pattern

    Hi, I've got 100 files. Each file has got 300ish XREFS. Xref's names change every week. Part of the xref's name is constant, other part changes. Ex : VISIO_AA_14_A The pattern of this name is ...

    Started by pouicpouic‎, Yesterday 12:38 pm
    • Replies: 9
    • Views: 166
    Yesterday 11:11 pm Go to last post
  7. Solids to Mesh LISP

    I made some scripts to work with solids. The first three work but the third to turn a solid into a mesh with meshsnmooth does not work. Can somebody help? SOLIDS ERASE ( (setvar "qaflags"...

    Started by raymarcher‎, Yesterday 03:46 pm
    • Replies: 1
    • Views: 89
    Yesterday 07:13 pm Go to last post
  8. How to remove an element from a list

    I am trying to change all the objects color to "bylayer" within a block, this means I have to eliminate the assoc code 62 from the list, I tried (vl-remove), it does return the list I need, but I...

    Started by LauKwokFai‎, 27th Oct 2014 10:15 am
    • Replies: 9
    • Views: 271
    Yesterday 05:51 am Go to last post
  9. Automatic distance between polygon vertices

    I need some LISP routine which autonumbers distance between polygon vertices.

    Started by Basomis‎, 24th Oct 2014 10:16 am
    2 Pages
    1 2
    • Replies: 11
    • Views: 474
    Yesterday 01:23 am Go to last post
  10. Adding Xdata From Slected Mtext or Text

    Hi, I am creating lisp routine and the work is to selected Mtext or text and the corresponding content is to be added as Xdata to the selected entity. (defun C:addxdata() (setq...

    Started by karunakaran1991‎, 25th Oct 2014 02:40 pm
    • Replies: 3
    • Views: 201
    29th Oct 2014 08:20 pm Go to last post
  11. Looking for someone to help with somewhat extensive LISP program to solve error

    I need to find an advanced user to help troubleshoot an AutoLISP program that is in four parts. The program is proprietary and pretty extensive so I don't know that posting it directly to this forum...

    Started by Colsen87‎, 28th Oct 2014 10:15 pm
    2 Pages
    1 2
    • Replies: 15
    • Views: 477
    29th Oct 2014 07:26 pm Go to last post
  12. Draw the cloud note , why have error ? please have a look! Thanks!

    (defun C:TEST (/ DDJD1 DDJD2 DDJD3 E OLDCEC OLDCEL OLDLAYER OSM1 RETURN# SCA) (defun *error* (msg) (vl-bt) (cond (*DOC* (_EndUndo *DOC*))) (while (not (equal (getvar "cmdnames")...

    Started by AIberto‎, 28th Oct 2014 04:10 pm
    • Replies: 3
    • Views: 234
    29th Oct 2014 03:29 pm Go to last post
  13. Join both ends of line after deleting the inserted autobreak block

    When deleting the inserted block is it possible to join both end of lines autopmatically

    Started by fathihvac‎, 22nd Oct 2014 08:37 am
    • Replies: 5
    • Views: 263
    29th Oct 2014 02:04 pm Go to last post
  14. Help Understanding a Lisp Routine

    Recently I had a lisp routine made up by another member. It creates an array like pattern which searches for attributes located in each panel and patterns the blocks accordingly. This typically...

    Started by drew4748‎, 28th Oct 2014 02:50 pm
    • Replies: 9
    • Views: 245
    28th Oct 2014 08:43 pm Go to last post
  15. line new layer my lisp not working please fix

    Hi I want draw lines it has create new layer and snap end point and Ortho on once I right click or cancel it has to go back to old layer and snap off and Ortho off

    Started by sanjeeve‎, 19th Oct 2014 04:01 am
    3 Pages
    1 2 3
    • Replies: 21
    • Views: 1,052
    28th Oct 2014 07:05 pm Go to last post
  16. Insert Dimension Measurement Field

    Hello, I am looking for a macro or lisp routine that allows me to insert a field in a text box that automatically takes a dimension's measurement. I am looking to skip all the dialouge boxes...

    Started by RyanAtNelco‎, 21st Aug 2009 02:30 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 3,927
    28th Oct 2014 01:44 pm Go to last post
  17. HELP: LISP to create multiple & resized viewport base on an existing viewport

    One of my routine work is to highlight only part view of a drawing that has changes, to our consultants. This involves creating individual viewports, of a specific view, out of that drawing...

    Started by vernonlee‎, 15th Oct 2014 06:58 am
    3 Pages
    1 2 3
    • Replies: 28
    • Views: 1,138
    28th Oct 2014 12:20 pm Go to last post
  18. Looking for lisp to create a table

    I need it to select polylines. then get linetype,depth,length take and add the same like lengths and give quantities for them. example: linetyp - depth - length - qty hidden - 10 - 12 ...

    Started by j_spawn_h‎, 23rd Oct 2014 03:32 am
    2 Pages
    1 2
    • Replies: 10
    • Views: 473
    28th Oct 2014 03:25 am Go to last post
  19. Surface selection by name

    Hi, I want to select surfaces by name, add them it into selection set and change there layers to something else. The idea behind is that I want to make a certain draw order in my drawing, but...

    Started by 4o4osan‎, 25th Oct 2014 09:11 am
    • Replies: 4
    • Views: 222
    27th Oct 2014 10:16 pm Go to last post
  20. block spacing lisp

    Good morning everyone. I have a question regarding an idea for a lisp. I am wondering if this is possible, or something to good to be true. I work at a solar panel racking company, we use CAD...

    Started by drew4748‎, 26th Aug 2014 12:46 pm
    2 Pages
    1 2
    • Replies: 15
    • Views: 716
    27th Oct 2014 07:50 pm Go to last post
  21. Help to improve a sequential numbering lisp

    I have a great lisp that sequentially numbers/letters existing text or blocks with attributes. I'm not well versed in lisp. I was wondering if someone could possibly modify this lisp to also work on...

    Started by pioptl‎, 24th Oct 2014 03:29 pm
    • Replies: 2
    • Views: 192
    27th Oct 2014 01:12 pm Go to last post
  22. AutoCAD Sharing! AutoStartup

    Source from : bbs.xdcad.org , by st788796 (defun XD::AutoStartup (path tf / Profiles allpro newnum AutoLoadpath) (vl-load-com) (if tf (progn (vla-getallprofilenames ...

    Started by AIberto‎, 26th Oct 2014 03:06 pm
    • Replies: 1
    • Views: 191
    27th Oct 2014 12:13 am Go to last post
  23. Copy block within the entity (bcopy)

    Copy block within the entity (bcopy) (defun c:bcopy ()(c:blkssc)) ;; (defun c:blkssc (/ *ERROR* *MYERR BLKN E EEE NPT OLDERR PAUSE SS SS2 SSB SSN SSR SSS SSS2 X ssx) (princ "\n bcopy=Copy...

    Started by AIberto‎, 26th Oct 2014 03:15 pm
    • Replies: 1
    • Views: 173
    27th Oct 2014 12:11 am Go to last post
  24. Question Need LISP to Unload all XREF

    Hi, Is there any LISP to Unload all XREF? Thank you.

    Started by Faouweb‎, 12th Sep 2014 10:23 am
    • Replies: 7
    • Views: 440
    26th Oct 2014 05:54 pm Go to last post
  25. AutoCAD Sharing! The arc along the curve.

    Source from: bbs.xdcad.org/thread-675894-1-1.html (defun mkarc (p w f / p1 p2) (cond ((= f 3) (setq p1 (mapcar '- p (list (* -0.25 w) (* 0.5 (abs w)) )) p2 (mapcar '- p (list 0 (abs...

    Started by AIberto‎, 26th Oct 2014 02:54 pm
    • Replies: 0
    • Views: 151
    26th Oct 2014 02:54 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