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

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: 95,468
    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,393
    18th Sep 2006 10:46 pm Go to last post
  1. Rotating in segments

    Hi All Is it possible in Autolisp to insert a block (In this case it's a line) then pick a point (this point defines the centre of an imaginary circle) once the point is picked I would like to...

    Started by TunzaGibbo‎, Today 02:12 pm
    • Replies: 3
    • Views: 46
    Today 06:50 pm Go to last post
  2. Settings for an angle

    After I pick my dimension point I will pick a point at about say about 20 degrees. Then what I'm trying to say with the first "IF" statement is that if p2 is somewhere between 0 deg and 45 deg then...

    Started by TunzaGibbo‎, 18th May 2018 03:22 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 348
    Today 12:31 am Go to last post
  3. Angry Updated TXT2MTXT not doing what I want

    Since AutoCAD recently brought the TXT2MTXT command from Express Tools into main AutoCAD, and updated/improved it in the process, I can't get it to consistently do what I want. 1. Converted MTEXT...

    Started by Rooster‎, 4th Jul 2017 10:21 am
    4 Pages
    1 2 3 ... 4
    • Replies: 32
    • Views: 5,602
    Yesterday 08:41 pm Go to last post
  4. Circle inside the Block

    (setq xss2 (ssget"C"pt1 pt2 '((0 . "INSERT") ))) In my blocks there is a circle.How can I find out the radius of that

    Started by wimal‎, 14th May 2018 11:23 am
    2 Pages
    1 2
    • Replies: 18
    • Views: 428
    Yesterday 08:40 am Go to last post
  5. Quick question about block insertion point

    Hi, I'm playing with blocks data extraction. I just want to be sure. The best way to get block insertion point in WCS/UCS is: For ename: (trans (cdr (assoc 10 (entget _ent))) _ent 0) ;WCS...

    Started by ziele_o2k‎, 17th May 2018 11:04 pm
    • Replies: 3
    • Views: 181
    Yesterday 02:10 am Go to last post
  6. draw a polyline based on coordinates

    I'm trying to cut a long routine into smaller ones. This time, I'm trying to (lik ethe title says) draw a polyline based on given coordinates. I'll have a list of 2D coordinates (take this for...

    Started by saim‎, 17th May 2018 07:33 pm
    • Replies: 7
    • Views: 195
    Yesterday 02:02 am Go to last post
  7. I need help getting the shortest distance from a point to a slanted line #AsBuilt

    Good Morning, I am pretty new to AutoCad, and would appreciate if anyone out there could help. I understand how LISP files work, and have been making use of these LISP files to create as-built...

    Started by cricket‎, 17th May 2018 01:11 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 286
    18th May 2018 01:27 pm Go to last post
  8. Question offset table (intersection points)

    hi all, i have drawings that contains stations and waterlines as polyline or spline. (in att. dwg named as ST0, ST1...ST20, and WL0 to WL8) there may be other stations or waterlines such as...

    Started by bkartal16‎, 15th May 2018 10:08 am
    • Replies: 4
    • Views: 194
    18th May 2018 01:10 pm Go to last post
  9. Join lines on same layer

    Hello everyone. I'm trying to put together a lisp to be able to select a line, which will cause all the lines on that layer to be selected, then using the join command will make any lines connected...

    Started by MrCocopuffz‎, 16th May 2018 08:38 pm
    2 Pages
    1 2
    • Replies: 15
    • Views: 290
    18th May 2018 11:52 am Go to last post
  10. Unhappy Add previous objects to group

    Good day, What i know is dangerous. I have a basic lisp that draws a couple of lines and arc's. --------------- (command "LINE" IP P4 P5 P6 P16 P15 P14 "C") (command "LINE" P1 P8 "") (command...

    Started by trefan123‎, 16th May 2018 07:47 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 293
    18th May 2018 04:05 am Go to last post
  11. define block with autolisp

    Hello everyone, Is it possible to get with autolisp while running a block command, to get all possibilities that the normal block command has? When running the block command thru autlisp it...

    Started by svorgodne‎, 17th May 2018 10:23 am
    • Replies: 5
    • Views: 169
    17th May 2018 05:44 pm Go to last post
  12. Points of leader

    (setq pt(nentsel (strcat "\n Select a leader < exit > : ")));get entity (setq e (entget (car pt)));;association list of entity (setq p1 (assoc 10 e)) How can I get 3 points of leader.

    Started by wimal‎, 16th May 2018 10:44 am
    • Replies: 4
    • Views: 187
    17th May 2018 04:40 am Go to last post
  13. hatch dxf group

    hello everyone, what is the dxf group for a hatch that was generated from an opened polyline? Thanks in advance

    Started by svorgodne‎, 15th May 2018 05:26 pm
    • Replies: 7
    • Views: 216
    16th May 2018 01:52 pm Go to last post
  14. Undefine, Redefine and localized version of Autocad

    Hello. I can't complete a simple task which requires of using Undefine and Defun functions to cover builtin function in localized Autocad 2010. I need to replace PASTEBLOCK. In my version PASTEBLOCK...

    Started by Ryszard‎, 9th May 2018 07:18 pm
    2 Pages
    1 2
    • Replies: 14
    • Views: 402
    16th May 2018 12:22 pm Go to last post
  15. Question Change layer name and layer pro. Automatically

    I have xref but with layer name and layer pro. Different from my dwg. So i want to change layer names and its pro. Automatically when i upload the xref xref for structural design dwg. (...

    Started by AHMED18‎, 16th May 2018 10:41 am
    • Replies: 0
    • Views: 112
    16th May 2018 10:41 am Go to last post
  16. Single Xline by lisp

    (command "xline""H") I need draw a single xline through a selected point on the screen. And find the coordinates of picked point. The above code is working , but does not stop after inserting one...

    Started by wimal‎, 14th May 2018 07:43 am
    • Replies: 8
    • Views: 259
    16th May 2018 10:04 am Go to last post
  17. Cross-Section Elevation + Distance Lisp

    Hi I have found attached lisp.This lisp labels any point on a cros-sections with elevetion and distance.(Please see the linked video).What i need is; 1- How can i edit this routine due to...

    Started by folderdash‎, 9th May 2018 08:33 am
    2 Pages
    1 2
    • Replies: 15
    • Views: 665
    16th May 2018 07:05 am Go to last post
  18. txt to excel LISP

    Hi, I have been searching for a lisp to export txt to excel. Every lisp i've come across doesn't quite cut it. We use AutoCAD LT 2013 and AutoCAD 07. I want from every txt object (of a certain...

    Started by TekenaarNL‎, 27th May 2013 12:18 pm
    export, lisp files, txtexp
    • Replies: 9
    • Views: 17,530
    15th May 2018 07:21 pm Go to last post
  19. xref saved path find and replace: drawing name

    Hi guys, Long time reader, seldom if ever poster. I think I've got a good one this time and can't find a solution. I'm seeking to find and replace strings in hundreds of xref paths. It's not...

    Started by dingleboy‎, 20th Sep 2012 09:05 pm
    find, path, replace, xref
    • Replies: 9
    • Views: 8,120
    15th May 2018 06:02 pm Go to last post
  20. Copy and rotate, move and rotate

    hello when executing the commands the elements are duplicated in the same place, will there be any way that does not happen? and that the command be repeated Thank you. ((defun c: cr () (princ...

    Started by KARDOLITO89‎, 13th May 2018 04:55 pm
    • Replies: 2
    • Views: 143
    15th May 2018 05:58 pm Go to last post
  21. 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: 17
    • Views: 11,037
    15th May 2018 05:30 pm Go to last post
  22. Question Modify existing routine to allow arithmetic operations with dimensions.

    Hi! Have an old lisp that allows me to perform arithmetic operations with texts. I would like to be able to incorporate the possibility of select not only texts, but also dimensions. Honestly I do...

    Started by capocad‎, 14th May 2018 09:48 pm
    • Replies: 3
    • Views: 174
    15th May 2018 05:26 pm Go to last post
  23. Smile Annotative Scale Change LSP

    Hello, I have this very helpful LSP that will add the current annotative scale and delete all other scales for any type of annotative object. Is it possible to modify this LSP so that all...

    Started by ryankevin15‎, 8th May 2018 05:16 pm
    • Replies: 8
    • Views: 339
    15th May 2018 04:38 pm Go to last post
  24. LEADER to MLEADER Edit. UCS mode to do. Need some other help.

    I've only been learning LISPing for a few weeks so C&C's are most welcome. LINK TO VIDEO: One of my most used LISPs is the LeaderToMleader.LSP. Found here. It was last updated many...

    Started by 3dwannab‎, 5th Apr 2017 02:20 am
    • Replies: 4
    • Views: 934
    15th May 2018 02:44 pm Go to last post
  25. aligning text within text editor.

    so i have been looking for some time now to try and find something that will be able to help me with this. i want to be and to have the text within Mtext to be aligned right, center or left. the only...

    Started by dnovember99‎, 11th May 2018 05:45 pm
    2 Pages
    1 2
    • Replies: 15
    • Views: 405
    15th May 2018 01:39 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