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

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: 66,992
    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: 64,792
    18th Sep 2006 10:46 pm Go to last post
  1. PDF to predefind folder

    The below lisp PDF to current drawing location folder. How to save to to another folder (eg, d:\PDF) or document folder (defun C:PP (/ fnm) (if (setq fnm (getfiled "Specify Save Location"...

    Started by tive29‎, Today 06:10 am
    • Replies: 5
    • Views: 116
    Today 11:18 am Go to last post
  2. Coverting a Polylines Vertices from OCS to UCS

    In the past I have written codes that manipulate the geometry of a polyline however I have only recently come across the issue of OCS's. I wrote a code that extracts the polyline vertices and...

    Started by Steve Johnstone‎, Today 05:51 am
    • Replies: 4
    • Views: 82
    Today 10:12 am Go to last post
  3. pagesetup with lisp with several layout A3, A0. A1

    Hello looking for a lisp that could autom. make page setup in acad for serveral layouts, also could find right papersize of the printer, and plotter with plotstyle, the lisp had the options to choose...

    Started by CAD‎, 16th Jun 2017 08:25 pm
    3 Pages
    1 2 3
    • Replies: 21
    • Views: 778
    Today 09:09 am Go to last post
  4. Automatic Dimensioning

    Hello everyone; I need a lisp code which puts dimension automatically between the center of each circle chosen and endpoints of chosen lines as shown in the attached drawing. Thanks.

    Started by Can‎, 15th Jun 2017 01:59 pm
    • Replies: 3
    • Views: 360
    Today 05:22 am Go to last post
  5. Match most current attribute value to another attribute in title block

    Commandobill wrote some code awhile back. I need to tweak. The blue code below needs to be changed and I'm racking my brain. Instead of the attribute values being replaced manually, I need the value...

    Started by Da Ballz‎, 20th Jun 2017 07:04 am
    • Replies: 5
    • Views: 262
    Today 04:03 am Go to last post
  6. DCL layout question

    How to delete area marked as red rectangle? but : button { width = 13; fixed_width = true; } StdQuickOptionsDialog : dialog { label = "Quick settings"; : column { : row {alignment = centered;...

    Started by ziele_o2k‎, Yesterday 11:16 pm
    • Replies: 1
    • Views: 94
    Today 01:21 am Go to last post
  7. Copy or Swap Text

    As posted over at theSwamp, I thought I'd post it here for you guys also :) CopyText.lsp The program will allow a user to copy the text content from a source object to a selection of...

    Started by Lee Mac‎, 5th Jan 2011 02:39 pm
    4 Pages
    1 2 3 ... 4
    • Replies: 33
    • Views: 7,580
    Yesterday 09:43 pm Go to last post
  8. ssget radius within a range

    Hello, I currently have a lisp routine that will look for a specific sized hole and change it to a different diameter. It also performs some layer management. I'm having a bit of trouble trying to...

    Started by jason_a‎, 22nd Jun 2017 08:14 pm
    • Replies: 4
    • Views: 211
    Yesterday 05:10 am Go to last post
  9. Mleader properties for Left Justify and Extend Leader to Text

    I'm trying to find properties for Left Justify and Leader to text. I created two Mleaderstyles that only differed on those two properties. I inspected both styles in Vlide but I didn't notice any...

    Started by guitarguy1685‎, Yesterday 04:26 am
    • Replies: 0
    • Views: 93
    Yesterday 04:26 am Go to last post
  10. Lisp For PDF in portrait is OK but in landscape is not fully plotted?

    I am using the below LISP to plot PDF. I use the same code for portrait ("P" instead of "L") the PDF comes out ok. The problem is for landscape, the PDF comes out in a smaller plot area such...

    Started by tive29‎, 23rd Jun 2017 12:41 pm
    • Replies: 3
    • Views: 152
    Yesterday 03:43 am Go to last post
  11. Realign keynotes with a section of MText

    Hello, Does anyone with LISP programming ability know of a LISP or could make one that when you: - Run the command - Select the keynotes - Hit space bar - Select the text - Space bar again

    Started by ryankevin15‎, 22nd Jun 2017 09:46 pm
    • Replies: 4
    • Views: 188
    Yesterday 02:31 am Go to last post
  12. Text 2 mtext with a twist

    I know there of txt2mtext command with Express. I also found another that does the same but creates individual mtxt. I have a situation where I will have text in several different positions, on...

    Started by guitarguy1685‎, 22nd Jun 2017 05:58 pm
    • Replies: 2
    • Views: 211
    23rd Jun 2017 02:01 pm Go to last post
  13. "0" is not showing in this Area lisp

    Found this area lisp somewhere & did some minor edit. But there is a problem. if the area is example 0.11, the text ouput will be .11m2. Can some tell me what to amend to have it show as 0.11m2 ...

    Started by tive29‎, 23rd Jun 2017 07:03 am
    • Replies: 2
    • Views: 160
    23rd Jun 2017 10:34 am Go to last post
  14. Question Point inside closed polyline

    Hi, I have problem to find any point inside closed polyline. The point can't be on edge this polyline. I found example:...

    Started by Assgarth‎, 27th Jun 2011 02:35 pm
    • Replies: 8
    • Views: 5,746
    23rd Jun 2017 09:48 am Go to last post
  15. Smile Insert Block on the Intersection of a Circle and Polyline

    I want to insert a block on the Intersection of a selected Circle and Polyline using lisp.

    Started by subodh_gis‎, 22nd Oct 2015 01:43 am
    lisp
    • Replies: 6
    • Views: 1,482
    22nd Jun 2017 10:22 am Go to last post
  16. Vla-GetInterfaceObject what is this?

    This is the code i'm currently working with to create an MleaderStyle ;; original code by VVA (defun Create_MleaderStyle (mleaderstylename MldScale / ; acaddoc ; mldrdict...

    Started by guitarguy1685‎, 19th Jun 2017 04:22 am
    • Replies: 3
    • Views: 255
    22nd Jun 2017 09:26 am Go to last post
  17. Help my LISP isnt working! - Rounding 29.99 to 30.00

    I am hoping for some help as to why my LISP wont work, I have a heap of text saying things like 29.999, 27.999 etc. which I need changed to 30.00, 28.00 etc. I am trying to use the following but...

    Started by ALLI‎, 22nd Jun 2017 06:24 am
    • Replies: 1
    • Views: 165
    22nd Jun 2017 09:14 am Go to last post
  18. lisp needed

    I need a lisp to convert lines or polylines to dimensions. Dim command actually does this by selecting object but i want to select multiple lines or plines at once and turn them into dimensions...

    Started by rodi‎, 15th Jun 2017 01:32 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 511
    21st Jun 2017 02:41 pm Go to last post
  19. Unhappy Change Layers Color To Entity Color

    Hi all, I am looking for a routine to change each layer color to the first entity color in coresponding layer selection set. After that chnge all entities to bylayer color. So visual efect remain...

    Started by Jozef13‎, 18th Jun 2017 03:27 pm
    3 Pages
    1 2 3
    • Replies: 29
    • Views: 860
    21st Jun 2017 02:38 pm Go to last post
  20. Multiple Offset Lisp

    Hello to all. I desperetely need a lisp that can offset different objects at the same time. And and color the offseted objects red if they are fit into each other. I searched the board but...

    Started by celiktele‎, 30th Sep 2009 12:20 pm
    • Replies: 9
    • Views: 9,452
    21st Jun 2017 07:52 am Go to last post
  21. AutoCAD auto lisp programme for selected line's length table in auto cad 2014

    I want to create a auto lisp programme for following As input i want to select one line from model space in auto cad and as output i want table that display length of line and whenever i...

    Started by MAD‎, 20th Jun 2017 12:48 pm
    autolisp, lenght, table lisp
    • Replies: 1
    • Views: 194
    21st Jun 2017 03:34 am Go to last post
  22. Wink How: select all entities of an "unnamed" group by selecting a part of it

    Greetings every one ... i have an unnamed Groups through the drawing ... i want to apply some lisp every single group to all of its entities ... i need some way to get a selection set of all the...

    Started by handasa‎, 19th Jun 2017 08:55 pm
    • Replies: 3
    • Views: 243
    21st Jun 2017 01:23 am Go to last post
  23. Point Manager

    Currently, the user can: Insert a Block at all Points from a File (txt/csv) Insert a Point at all Points from a File (txt/csv)

    Started by Lee Mac‎, 11th Dec 2009 07:44 pm
    15 Pages
    1 2 3 ... 15
    • Replies: 146
    • Views: 101,384
    20th Jun 2017 09:14 pm Go to last post
  24. Modification to a Lee Mac Auto-labeling Lisp

    Hey guys, So thanks to Lee Mac, I've got this stellar labeling LISP that works for a variety of situations. I need help throwing one more situation into the mix. I'd like it to have different...

    Started by eyeofnewt555‎, 20th Jun 2017 07:09 pm
    automatic labels, dynamic block, lee mac, user parameter
    • Replies: 0
    • Views: 158
    20th Jun 2017 07:09 pm Go to last post
  25. Question insert blocks and scale from a csv?

    Is is possible to programmatically scale blocks based on a field in a CSV or from an attribute? I have used Lee Mac's Point Manager, (absolutely wonderful programm!!) but do not know how to set...

    Started by chulse‎, 7th May 2010 06:12 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 3,474
    20th Jun 2017 11:51 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