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

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: 82,348
    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: 71,195
    18th Sep 2006 10:46 pm Go to last post
  1. change all z of point to 0.0

    Hello, Can someone tell me the way change all z of point to 0.0 (attached file) Thanks.

    Started by new_mem‎, 18th Nov 2017 12:41 am
    • Replies: 7
    • Views: 286
    Today 01:27 pm Go to last post
  2. tweaking a current lisp!

    ok so i have a lisp that i use all the time and i wanted to see if someone would be able to help me out. i am wanting to add an additional part to this, if that is possible. when we run ELA - i...

    Started by dnovember99‎, 17th Nov 2017 09:14 pm
    • Replies: 2
    • Views: 171
    Today 01:16 pm Go to last post
  3. Copy object to middle of line or polyline

    Hi everyone! I have problem with my program. It run unstable. I hope everyone helps me (defun mid (p1 p2) (list (/ (+ (car p1) (car p2)) 2.0) (/ (+ (cadr p1) (cadr p2)) 2.0) ) )

    Started by Luongshop‎, Yesterday 10:55 am
    • Replies: 1
    • Views: 150
    Yesterday 11:16 am Go to last post
  4. "revcloud" command in lisp is different than "revcloud" AT command line

    I understand that the revcloud command relies on a system variable in conjunction with a drawing's current annotation scale to try and scale the arc length appropriately, but it's always wrong. I...

    Started by jweber‎, 17th Nov 2017 09:01 pm
    • Replies: 4
    • Views: 165
    18th Nov 2017 12:09 am Go to last post
  5. Found a lisp from Tharwat (block quickly)

    I found a lisp from Tharwat and as below Web(It is good) Have any way let block quickly and it don't need to select point? There are 1000 texts need to create block. ; Quick Block ;...

    Started by Rain0923‎, 25th Aug 2017 02:14 am
    2 Pages
    1 2
    • Replies: 15
    • Views: 1,271
    17th Nov 2017 10:08 pm Go to last post
  6. Lee Mac's Tip of the day not working

    Hello all. First off let me thank Lee Mac for all that he does with LISP and how he helps others out. He is a great value to the community. :notworthy: Now for the question I have been trying to...

    Started by aawilds‎, 16th Nov 2017 05:01 pm
    autolisp, lee mac, startup
    • Replies: 8
    • Views: 315
    17th Nov 2017 08:12 pm Go to last post
  7. Output to command line during code execution

    I have a block processing routine which can take several seconds to complete and I want to provide feedback to the user whilst it does it's thing. acet-ui-progress works great for users with...

    Started by thatandyward‎, 15th Nov 2017 05:08 pm
    2 Pages
    1 2
    • Replies: 14
    • Views: 345
    17th Nov 2017 08:08 pm Go to last post
  8. Unhappy Make User Variable From Mtxt

    Dear Sir's I want to make user variable "Let's say USER1" to be equal to number 15 which is written in txt or mtxt anywhere in my drawing so if anyone change this txt or mtxt to 16 the USER1...

    Started by MahReda‎, 7th Nov 2017 08:23 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 503
    17th Nov 2017 06:01 pm Go to last post
  9. Need Automatic Grid Labels lisp

    Hi friends, i need automatic grid labeling by selecting all lines. please have a look at my sample format of drawing. Thank you all

    Started by structo‎, 16th Nov 2017 09:36 am
    2 Pages
    1 2
    • Replies: 11
    • Views: 388
    17th Nov 2017 05:10 pm Go to last post
  10. Help with a bit of coding...

    Hello friends, Does anyone have a bit of code to handle this: My company wants to start using an Excel spreadsheet to track revisions so that we can ultimately determine where there are bottlenecks...

    Started by LosGirk‎, 17th Nov 2017 03:04 pm
    • Replies: 4
    • Views: 164
    17th Nov 2017 04:40 pm Go to last post
  11. Rectangle around text

    This the last bit of a routine I'm trying to create. Its very simple in its overall intent It just adds a line of text inside a rectangle. The TCIRCLE (Express Tools) command is being executed and...

    Started by TunzaGibbo‎, 16th Nov 2017 01:05 am
    • Replies: 6
    • Views: 223
    17th Nov 2017 03:25 am Go to last post
  12. Read a File to Remove and Replace a String in MTEXT

    Currently we are using Lee Mac’s UpdateTitleBlock and it has been working flawlessly reading the CSV file and putting the data in place. However, I have been thrown a bit of a curve. I have a section...

    Started by GregGleason‎, 15th Nov 2017 03:34 pm
    • Replies: 1
    • Views: 108
    17th Nov 2017 12:46 am Go to last post
  13. Question What does & symbol in front of a DCL label do?

    What does the & symbol in front of a DCL label do? example: label = "&Exit Program"; I forgot! Hopefully someone knows quick like off the top of their head; Thank you!

    Started by LosGirk‎, 16th Nov 2017 03:27 pm
    • Replies: 2
    • Views: 161
    16th Nov 2017 11:30 pm Go to last post
  14. Getpoint doesn't allow osnap

    This piece of code will give this message. What is the reason i can not use a point of some object? " Points must be distinct. ; error: Function cancelled "

    Started by halam‎, 15th Nov 2017 02:24 pm
    • Replies: 5
    • Views: 181
    16th Nov 2017 11:00 pm Go to last post
  15. Need some help with a dialog box

    Hello, I nee some help with a dialog box. I just started learning how to add dialog boxes to my lisp recently. I am trying add a dialog box to a lisp that asks 3 yes or no questions at the start. I...

    Started by aawilds‎, 14th Nov 2017 07:38 pm
    2 Pages
    1 2
    • Replies: 18
    • Views: 461
    16th Nov 2017 02:45 pm Go to last post
  16. Breaking multiple lines using a cross- line

    Hi Using 2008. How do you break multiple lines along a line? I.e. you have ten horizontal lines 3m long and one vertical line running down the centre of the 3m lines. I need...

    Started by djp6‎, 7th Oct 2010 10:12 am
    2 Pages
    1 2
    • Replies: 14
    • Views: 24,625
    16th Nov 2017 06:08 am Go to last post
  17. Proper Syntax to Split Delimeted Record to Variable

    I imagine this code needs just a quick fix. I am reading a CSV, split the record to a variable so I can test variables. I am getting an error when I try to invoke: (LM:str->lst fil ",") ...

    Started by GregGleason‎, 16th Nov 2017 12:55 am
    • Replies: 1
    • Views: 122
    16th Nov 2017 02:31 am Go to last post
  18. Find a Block and Send it to Another Layer

    I am trying to capture items on layer “0”. I first turn all layers off except “0”, but I don’t know how to code that yet so I did it manually. I am left with one object on that layer and it is a...

    Started by GregGleason‎, 13th Nov 2017 08:46 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 322
    15th Nov 2017 08:24 pm Go to last post
  19. Get Mass Properties of a region and update exisitng text box

    I am very new to using lisp routines, so please excuse my ignorance. I have noticed that I have been using AutoCAD to get the sectional properties of built up sections quite often. To do this, I...

    Started by atr140‎, 2nd Feb 2015 10:35 pm
    7 Pages
    1 2 3 ... 7
    • Replies: 62
    • Views: 10,250
    15th Nov 2017 01:49 pm Go to last post
  20. OSNAP Filter all Non-Zero Z Elevations

    Hello Everyone, A little backstory: I work in a civil land development office where feature lines are heavily used for our designs. We have some great C3D styles and labels which we use to...

    Started by Brochillington‎, 12th Nov 2017 10:30 pm
    • Replies: 4
    • Views: 205
    15th Nov 2017 06:59 am Go to last post
  21. Getstring & Strcat

    Hi, I'm trying to write a lisp to help me do the elevation leader & material code easier. But seems like I miss understand some function. I want to setq the Material Code by only input 2...

    Started by leong1221‎, 9th Nov 2017 03:35 am
    2 Pages
    1 2
    • Replies: 15
    • Views: 509
    15th Nov 2017 05:12 am Go to last post
  22. Alternate way(s) to determine block sub-entity type?

    I am writing a lisp routine which processes user selected (via ssget) blocks and outputs various data (handle, insertion point, rotation, specific attribute values) to a CSV text file. It processes...

    Started by thatandyward‎, 14th Nov 2017 06:05 pm
    • Replies: 2
    • Views: 147
    15th Nov 2017 04:05 am Go to last post
  23. Transfer Attributes from one block to another

    I've been looking for a routine that will allow me to transfer an attribute from one block to another. Ideally I'd like to click on one block which contains the attribute I want (from a field called...

    Started by Ranger-uk‎, 6th Jun 2011 04:35 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 10,583
    15th Nov 2017 01:55 am Go to last post
  24. IF - condition (I need an additional LISP lesson)

    Hi, could anyone please help me out with this? (if (= "UserName" (strcase (getvar 'loginname))) ... I would like to add here some other UserNames

    Started by Bluebird1973‎, 13th Nov 2017 03:44 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 338
    14th Nov 2017 08:15 pm Go to last post
  25. Acad.lin file load by lisp

    Pl. can you give me a lisp code to load acad.lin file

    Started by wimal‎, 14th Nov 2017 10:43 am
    • Replies: 5
    • Views: 206
    14th Nov 2017 05:24 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