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

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: 46,210
    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: 53,560
    18th Sep 2006 10:46 pm Go to last post
  1. modify : replace text from excel lisp

    Greetings everyone i found this lisp created by fixo https://www.theswamp.org/index.php?topic=13096.0 ;--------code start--------; (defun get-excel-data (/ ExcData xlApp xlBook xlCell...

    Started by handasa‎, 10th Apr 2016 09:42 pm
    • Replies: 0
    • Views: 253
    10th Apr 2016 09:42 pm Go to last post
  2. Center Text Between Two Points

    Searching fo a convenient way to center multiple lines of text, I came across this program by Lee Mac. It works very well, and I'll admit to getting a big grin on my face while testing it, but found...

    Started by StevJ‎, 7th Apr 2016 04:07 am
    • Replies: 5
    • Views: 694
    10th Apr 2016 03:01 pm Go to last post
  3. Polyline lenght in block attribute

    I need a lisp routine for extracting polyline length (selected one) and that value needs to be copied into block attribute (i also need to select one). I have a lisp routine witch does similar...

    Started by sakinen‎, 24th Jun 2010 11:43 am
    2 Pages
    1 2
    • Replies: 15
    • Views: 6,143
    9th Apr 2016 11:18 am Go to last post
  4. AutoCAD Ready to Pay for this Program

    Is it possible to create drawing with time limit? Let's say... I have created or modify a existing drawing and kept a time limit for 2 days. After 2 days the drawing should not get opened. Is it...

    Started by satishrajdev‎, 7th Apr 2016 10:07 am
    • Replies: 9
    • Views: 519
    8th Apr 2016 03:21 pm Go to last post
  5. Exporting Text

    Here's another gem rescued from pop-up obscurity on the old forum. You want to export text from a drawing. Use this little AutoLISP application. The application will help you to do the trick. ...

    Started by CADTutor‎, 2nd Oct 2002 01:05 am
    2 Pages
    1 2
    • Replies: 18
    • Views: 14,514
    8th Apr 2016 02:03 am Go to last post
  6. Question about Reactors

    Hi guys, I didn't found anywhere similar information about a reactor questions that keeps me curious. So my questions are: *Callback question: Is it possible to run a lisp command definition...

    Started by Grrr‎, 6th Apr 2016 07:43 pm
    • Replies: 4
    • Views: 282
    7th Apr 2016 07:08 pm Go to last post
  7. Draw the BBox for certain block - why I get "too many arguments error"?

    Hi guys, I'm trying my best and still don't understand why I get this error: Error: too many arguments The code supposes to filter selection by certain dynamic block with name "VLD_РАМКА_V2"...

    Started by Grrr‎, 6th Apr 2016 09:34 pm
    • Replies: 8
    • Views: 349
    7th Apr 2016 07:06 pm Go to last post
  8. Get all block name in current drawing.

    (setq n (getstring t "\nEnter new block name: ")) I want get all block name in current drawing. If I enter the new name already exists.return "nil " , please help.Thanks.

    Started by DuanJinHui‎, 7th Apr 2016 09:49 am
    • Replies: 7
    • Views: 287
    7th Apr 2016 01:24 pm Go to last post
  9. A lisp to change blocks in a layer to a layer with a prefix of that layer

    I currently do this a clumsy way using a macro and 2 filters, copying to clipboard, erasing what I don't need, renaming layers with RENAME command, then pasting back from the clipboard all the...

    Started by YZ‎, 5th Apr 2016 05:40 am
    • Replies: 9
    • Views: 372
    7th Apr 2016 10:47 am Go to last post
  10. error: bad argument type: consp nil

    when I run this code all excell file are closed but message desplya "close all excel spreadsheet to continue" and then this error occure. error: bad argument type: consp nil I have file name...

    Started by raj patel‎, 7th Apr 2016 06:26 am
    • Replies: 0
    • Views: 176
    7th Apr 2016 06:26 am Go to last post
  11. How can I convert dxf to dwg in batch??

    Hi Frinds, I need to convert many dxf to dwg.. is it possible to do it at once.. Please help Thanks in advance

    Started by Han_BFY‎, 23rd Dec 2013 09:20 am
    • Replies: 6
    • Views: 1,925
    7th Apr 2016 03:48 am Go to last post
  12. Autolisp Program to Calculate Weight

    I have thousands of sketches in autocad and need to calculate the weight for each sketch. The sketches are all in 2D format. The sketches are of shafts with different diameters and lengths. Each...

    Started by sander35‎, 24th Jul 2015 03:20 pm
    • Replies: 6
    • Views: 1,023
    7th Apr 2016 03:31 am Go to last post
  13. Offset to layer reactor

    I have a question on how to approach a reactor that I am planning on tackling. This will be my first ever reactor, so I have been reading up on the vlr functions. My goal of the reactor is to have it...

    Started by broncos15‎, 5th Apr 2016 06:37 pm
    3 Pages
    1 2 3
    • Replies: 25
    • Views: 793
    6th Apr 2016 10:49 pm Go to last post
  14. lisping dimension style as current

    hi how can i set dimension style as current programatically? without using the (command) command?

    Started by samifox‎, 6th Apr 2016 11:35 am
    • Replies: 5
    • Views: 300
    6th Apr 2016 06:20 pm Go to last post
  15. Hatch everything HELP

    om wondering if there is a way to hatch everything selected as long as its close, weather if its circle, polyline, line, rectangle, block reference etc...

    Started by ktbjx‎, 6th Apr 2016 03:10 pm
    • Replies: 0
    • Views: 165
    6th Apr 2016 03:10 pm Go to last post
  16. Does someone know to get the status of DXF dictionary for "Unused Layers"?

    Does someone know to get the status of DXF dictionary for "Unused Layers"? I got Mr. Lee Mac's code was gave me an information of thawed/frozen/on/off/lock/unlock status of layers but How about an...

    Started by Deby Ferdian‎, 6th Apr 2016 08:14 am
    • Replies: 0
    • Views: 250
    6th Apr 2016 08:14 am Go to last post
  17. How To Join Lines and Arcs Into Polyline

    I have a rather simple task that I made good progress on until... The task was to come up with a lisp routine that would draw a section view of various steel angles. That wasn't too hard but now I...

    Started by Bill Tillman‎, 27th Jan 2016 09:37 pm
    3 Pages
    1 2 3
    • Replies: 23
    • Views: 1,496
    6th Apr 2016 04:30 am Go to last post
  18. Setting segment angle for mleader

    Hi all, I was wondering if there is any way that I could set all of my mleaders to have a same angle for their 1st segment. I have set that in my mleader style and applied the style to my mleader...

    Started by bababarghi‎, 31st Mar 2016 11:32 pm
    • Replies: 9
    • Views: 494
    5th Apr 2016 11:55 pm Go to last post
  19. Manage multiple custom scale lists

    Hi, How do you manage your default scales (annotative)? In my work i have to be able to work with both mm. and m. It seems not possible to use the default options, because this is fixed and i...

    Started by halam‎, 4th Apr 2016 09:44 pm
    • Replies: 2
    • Views: 267
    5th Apr 2016 07:40 pm Go to last post
  20. Automatic hatch based on polyline area ranges

    Hi all I'd like to be able to amend the below code to include the ability to automatically create hatch based on predefined area ranges of the polylines: For example: 250m² to 299m² = solid...

    Started by pixel8er‎, 4th Apr 2016 08:12 am
    • Replies: 9
    • Views: 396
    5th Apr 2016 07:07 pm Go to last post
  21. Unhappy Need Urgent Help For Lookup

    Dear Friends, I am trying to develop a code, that should take the user input and then it should match to assigned list values, after it should give the output as an alert box. Following is the...

    Started by tnvsb‎, 4th Apr 2016 06:01 pm
    • Replies: 8
    • Views: 307
    5th Apr 2016 01:10 pm Go to last post
  22. Writing my first lisp

    I am attempting my first lisp routine today. I have practiced a little with loading in some samples, and reading them. I can follow (somewhat) the syntax. I don't expect any one to do it for...

    Started by YZ‎, 29th Mar 2016 05:51 am
    2 Pages
    1 2
    • Replies: 16
    • Views: 451
    5th Apr 2016 06:32 am Go to last post
  23. xref repath & rename LSP - Output to uppercase letters?

    found code somewhere. very good for changing xref path & xref names. But the change it becomes lowercase letters. i put in lsp code : R:\\DWGA\\ But come out r:\dwga\ ...

    Started by Tripledot‎, 5th Apr 2016 01:49 am
    • Replies: 2
    • Views: 213
    5th Apr 2016 06:27 am Go to last post
  24. Toggle on/off

    Hi, how are you: Someone could give me an example of how I can create a toggle that when I check this with edit_box and activate a while to disable a popup_list when removing the check do the...

    Started by amcdicsac‎, 4th Apr 2016 11:24 pm
    • Replies: 1
    • Views: 203
    5th Apr 2016 05:27 am Go to last post
  25. Segment Curve with curves

    The Segment Curve LISP is insanely useful for simplifying superfluous geometry. It splits a curve into a user defined number of lines. Currently I just follow Segment Curve with PEdit Fit to turn...

    Started by benhubel‎, 1st Apr 2016 07:01 pm
    curve, geometry, lisp, segment, simplify
    • Replies: 4
    • Views: 362
    4th Apr 2016 05:07 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