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

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: 34,940
    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: 48,288
    18th Sep 2006 10:46 pm Go to last post
  1. Special charector \ (92) ... (chr 92) returns \\

    G'day all, Im trying to have the \ character in a string using (chr 92) but (chr 92) returns two backslashes \\. The function is for storing some field code in a string so \\ wont cut it. ...

    Started by jnky‎, Today 03:11 am
    • Replies: 1
    • Views: 71
    Today 05:19 am Go to last post
  2. Simple lisp routine

    Hi All, I am trying to write my first lisp to draw a basic portal frame. I have used excel to work out the coordinates and construct a command which once I get the drawing command working, I will...

    Started by stevo99‎, Yesterday 09:58 pm
    • Replies: 5
    • Views: 118
    Today 04:21 am Go to last post
  3. Lisp to draw a polyline around the extents of a set of polylines

    Hello everyone, This is my first post on here so please forgive my ignorance if this is posted somewhere else. I am trying to create a lisp that will draw a polyline around a set of polylines,...

    Started by acheok24‎, Yesterday 01:56 pm
    • Replies: 6
    • Views: 166
    Today 04:12 am Go to last post
  4. Spot Elevation Program

    I was wondering if anyone knows of a program already written or how to right a simple program that will extract the elevation from a point and place the elevation in text over the node with the...

    Started by CadProWannabe‎, 9th Jan 2010 07:34 pm
    7 Pages
    1 2 3 ... 7
    • Replies: 64
    • Views: 10,285
    Yesterday 11:12 pm Go to last post
  5. Using LISPS with Sheet set manager

    Hello all, Is there a way that I could use a lisp to update text inside the Sheet Properties of a sheet set? I am asking because I am currently trying to figure out the best way to implement...

    Started by Mekiver‎, 20th May 2015 06:23 pm
    sheet set, ssm, update properties
    • Replies: 3
    • Views: 116
    Yesterday 06:16 pm Go to last post
  6. Inserted Attributes Justification

    Hello All, I have copied and modified some code to add attributes to a block this works fine but the attribute text is justified “Top Left”. Is there a way to change this to “Middle centre”?. ...

    Started by Johnc‎, Yesterday 04:40 pm
    • Replies: 1
    • Views: 89
    Yesterday 05:53 pm Go to last post
  7. Batch replace the attribute value

    Dear.All Before, I had requested a thread at here: http://www.cadtutor.net/forum/showthread.php?90216-Replace-the-attribute-value&highlight=DuanJinHui (defun c:TesT (/ st ss) ;; Tharwat...

    Started by DuanJinHui‎, Yesterday 12:18 pm
    • Replies: 3
    • Views: 114
    Yesterday 04:57 pm Go to last post
  8. error: ActiveX Server returned the error: unknown name: Explode

    error: ActiveX Server returned the error: unknown name: Explode , Why ? autocad 2010 , windows xp ;|==================================================-=========================== * ...

    Started by DuanJinHui‎, 30th Apr 2015 03:26 am
    • Replies: 4
    • Views: 294
    Yesterday 01:02 pm Go to last post
  9. Question Field expression, using "auto-find".

    Hi to all, Please someone knows if its possible to create a field on a text form that could count a number of texts inside a drawing?... Eg.: I have the word "L1" 10 times in a drawing, it's...

    Started by CafeJr‎, 20th May 2015 11:57 am
    count, field, number, text
    • Replies: 4
    • Views: 140
    Yesterday 12:58 pm Go to last post
  10. NCOPY to paste as current layer in drawing

    Hey anyone now if there is a lisp or a routine to paste selected items to the current layer in your drawing when using the command NCOPY. I dont want to drag layers from the x ref into the current...

    Started by dweafer‎, Yesterday 12:33 pm
    • Replies: 0
    • Views: 82
    Yesterday 12:33 pm Go to last post
  11. Question Lisp - Prompt user input to select entity but also for keyword

    I want to write some lisp routines that similar to autocad prompting option, for example "offset" command, when the command prompt input for offset distance it also can receive other type of input...

    Started by kokjoo89‎, 20th May 2015 10:33 am
    • Replies: 5
    • Views: 245
    Yesterday 11:50 am Go to last post
  12. Lisp rectangle rotated - add features

    I do not know lisp, so I would ask you if someone is able to modify this code to improve it by adding 3 new features. I use this code to draw rectangles as if they were walls, so it can happen...

    Started by marmo‎, 7th May 2015 10:19 am
    • Replies: 7
    • Views: 520
    Yesterday 04:13 am Go to last post
  13. Drawing Printing Lisp for previous plot, Window selection and Preview needed.

    Hello all there, I tried Macro buttons but could not get what I wanted. Now I am looking for a lisp which can auto select print previous plot and asks for window select 2 points, then shows preview...

    Started by Saqib_theleo‎, 29th Nov 2013 03:43 pm
    2 Pages
    1 2
    • Replies: 12
    • Views: 999
    Yesterday 04:11 am Go to last post
  14. Idea Need Help With Bounding Box Move LISP! HELP!

    I currently have a really really basic LISP routine. It was written to center a group of objects within a 12x9 drawing sheet (some people do not care whether their drawing is centered or not... pet...

    Started by tmelancon‎, 20th May 2015 04:42 pm
    bounding box, lisp, move, vla
    • Replies: 3
    • Views: 133
    20th May 2015 09:48 pm Go to last post
  15. Lisp for Layout name to block attribute

    Hi to all! I'am building the title block (block with attributes) and I need a routine that will automatically read layout name, in multi layout dwg, and write it into block attribute „LAYOUT“ ...

    Started by gamulj‎, 20th May 2015 06:44 pm
    2 Pages
    1 2
    attribute, block, layout name, lisp
    • Replies: 11
    • Views: 221
    20th May 2015 09:25 pm Go to last post
  16. Multiple Math Functions in a Lisp String

    I'm trying to write a routine to draw a style of cover that we use regularly, but I'm having trouble getting past the math functions in lisp. I should clarify that I don't have a clue on .lsp...

    Started by Therriault‎, 13th May 2015 10:25 pm
    • Replies: 7
    • Views: 494
    20th May 2015 05:21 pm Go to last post
  17. Possible to make extra thing in this code?

    Hello, This routine removes duplicated blocks belonging to the same group name. That's great but i would like first see wich one is duplicated before he's deleting! Actually he's only said "x...

    Started by bono05‎, 19th May 2015 07:56 am
    • Replies: 7
    • Views: 202
    20th May 2015 01:56 pm Go to last post
  18. lisp for trimming/ breaking a polyline or line

    Hi guys, just new to the autolisp world and would like to ask your assistance in making a lisp so it can be a basis for my future lisp programs. Here is the flow of the lisp. Overview:...

    Started by piterfun7777‎, 19th May 2015 08:13 am
    break, trim
    • Replies: 2
    • Views: 165
    20th May 2015 11:44 am Go to last post
  19. Copy all attributes from one block to another---except one

    I work with AutoCad Electrical. I've been using an amazing Lisp file by Alan J. Thompson (who is a frequent contributor) call Match Attributes Values and it has been a enormous time saver. ...

    Started by nelsonbriles‎, 1st Mar 2012 08:17 pm
    2 Pages
    1 2
    • Replies: 14
    • Views: 5,106
    20th May 2015 06:59 am Go to last post
  20. Subtracting from z axis to get new point

    So I want to insert a block that is below the initial insertion point without changing the block. I've been busting my brain trying to get this lisp routine to work correctly. I think I'm close I get...

    Started by antoniusxylem‎, 19th May 2015 05:30 pm
    • Replies: 3
    • Views: 168
    19th May 2015 11:53 pm Go to last post
  21. Area lisp not working in AutoCAD 2015

    Can anyone make this work in AutoCAD Map3D 2015 release? It has worked fine in all previous versions of AutoCAD Map3D, prior to 2015. ;;This program will calculate the area of irregular...

    Started by MK2015‎, 14th May 2015 05:36 pm
    • Replies: 3
    • Views: 295
    19th May 2015 10:24 pm Go to last post
  22. Split a dynamic block into a single block for each state

    I am looking to split a dynamic block with visibility states into a series of blocks with a block for each visibility state. Can anyone help with this?

    Started by woodman78‎, 18th May 2015 05:11 pm
    2 Pages
    1 2
    • Replies: 14
    • Views: 491
    19th May 2015 04:18 pm Go to last post
  23. Batch Find & Replace Text

    Batch Find & Replace Text This program uses ObjectDBX to perform multiple text replacements on the current drawing or a complete directory (and subdirectories) of drawings. The program has the...

    Started by Lee Mac‎, 23rd Mar 2010 11:06 pm
    30 Pages
    1 2 3 ... 30
    • Replies: 292
    • Views: 65,053
    19th May 2015 02:12 pm Go to last post
  24. convert lines to polyline (where endpoints coincide)

    Hi, I have searched and (kinda) surprised I haven't found... has anyone ever come across a LISP that once a line is selected will convert it and any touching lines (where the endpoints coincide)...

    Started by mikekmx‎, 18th May 2015 10:09 pm
    • Replies: 3
    • Views: 246
    19th May 2015 10:14 am Go to last post
  25. Lisp Combine and Update

    Please help! I need a lisp routine that does the following... 1) Select a block. 2) Get the information from 2 seperate TAGs in the block First TAG: NODE_ID Second TAG:...

    Started by cabltv1‎, 29th Jan 2009 04:14 am
    • Replies: 9
    • Views: 1,699
    19th May 2015 03:48 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