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

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: 47,923
    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: 54,492
    18th Sep 2006 10:46 pm Go to last post
  1. LISP - Block Rename / Block Replace

    Hi, First, this site is wonderful. Many posts from members have helped me with my questions. I've been scouring the forum for a LISP, but seem to have come up short. I'll try to explain...

    Started by jeff26‎, 7th Jun 2016 09:41 pm
    • Replies: 4
    • Views: 291
    7th Jun 2016 11:24 pm Go to last post
  2. Circle on a Surface

    I need to draw a circle, then drape it on a Civil 3D surface (ie turn it into a 3DPoly perhaps?), and then find all points on the circle that has a specific elevation. Does anyone have any ideas on...

    Started by Jozi68‎, 19th Jan 2015 12:05 pm
    5 Pages
    1 2 3 ... 5
    • Replies: 40
    • Views: 5,109
    7th Jun 2016 10:16 pm Go to last post
  3. Creating layers with VLA, Automation Error. Key not found

    Hi guys, I have like 100 copies of this: (setq WILDCARD-VLD "VLD_") ;WILDCARD for the layer (setq LAYNAME1 "КОЛОНИ") ;Name for the layer (setq...

    Started by Grrr‎, 5th Jun 2016 07:30 am
    2 Pages
    1 2
    • Replies: 14
    • Views: 504
    7th Jun 2016 08:28 am Go to last post
  4. Dataextraction LISP for polyline counting

    Hello folks. I'm glad to finally join the forum, I've noticed there are some true CAD wizards here ;). I have a bit of a complex problem I can't quite solve myself right now. I need to...

    Started by NVP‎, 6th Jun 2016 06:29 am
    • Replies: 3
    • Views: 320
    7th Jun 2016 03:48 am Go to last post
  5. NEED Batch DGN to DWG LISP ASAP!

    We are bidding on a job with roughly 4500 drawings and its something that is going to put some work on my desk for a little while. The problem is that they have .DGN files and nobody has...

    Started by tmelancon‎, 6th Jun 2016 04:13 pm
    2 Pages
    1 2
    • Replies: 14
    • Views: 434
    7th Jun 2016 03:32 am Go to last post
  6. Question Removing Suffix LISP Tweak!

    Have a neat little LISP that removes prefix or suffix. Currently it is written to remove anything before or after a "dash" INCLUDING THE DASH. I need it to keep the dash. Thanks in advance. ;; ;;...

    Started by tmelancon‎, 6th Jun 2016 08:31 pm
    • Replies: 6
    • Views: 221
    6th Jun 2016 10:04 pm Go to last post
  7. Subfunction to add rows to a table

    Please delete this :(

    Started by bababarghi‎, 6th Jun 2016 02:56 am
    vla-insertrow
    • Replies: 1
    • Views: 210
    6th Jun 2016 07:02 pm Go to last post
  8. polyline kilometer along

    Hello to all, I have a challenge to place text markers along a polyline. As this polyline represents the trace of an linear object (in my case cable line) I would like to have at every 250m the...

    Started by sadefa‎, 5th Jun 2016 09:29 am
    • Replies: 3
    • Views: 364
    6th Jun 2016 01:03 am Go to last post
  9. Expire Lisp

    HI, I HAVE THE FOLLOWING CODE AND WANT TO EXPIRE WITHIN 10 DAYS FROM THE TIME RUNNING (defun c:S () (vl-cmdf "stretch" "c") (princ))

    Started by amcdicsac‎, 3rd Jun 2016 07:11 pm
    • Replies: 3
    • Views: 396
    4th Jun 2016 12:27 am Go to last post
  10. Displaying delta X & delta Y of two points (an alteration to Lee's code is needed)

    Hi again, I found following code of Lee here and it is pretty close to what I need but I need to change it slightly to print X and Y coordinate differences (dX,dY) pair instead of distances. Can...

    Started by bababarghi‎, 3rd Jun 2016 02:40 am
    • Replies: 3
    • Views: 273
    3rd Jun 2016 12:37 pm Go to last post
  11. Question All Layouts Ctb File / xxx.ctb change yyy.ctb

    Hi, Masters :) lisp is not working correctly? ; error: too few arguments help please :(

    Started by hkncdrc‎, 3rd Jun 2016 11:31 am
    ctb file
    • Replies: 3
    • Views: 268
    3rd Jun 2016 12:28 pm Go to last post
  12. Question Problem with "vla-InsertBlock"

    Folks, can someone plz tell me why I get ; error: Automation Error. Object permanently erased error? (defun test () (vl-load-com) (setq acad1 (vlax-get-acad-object)) (setq doc1...

    Started by bababarghi‎, 2nd Jun 2016 11:21 pm
    • Replies: 4
    • Views: 303
    3rd Jun 2016 10:37 am Go to last post
  13. Swapping arrowhead on multileaders

    I had a quick question on swapping the arrowhead on multileaders. For example, one of the codes just does a swap to an integral sign and another one does it to a dot. One thing that I notice is that...

    Started by broncos15‎, 1st Jun 2016 07:51 pm
    • Replies: 4
    • Views: 324
    3rd Jun 2016 09:19 am Go to last post
  14. Passing an argument to command doesn't work

    I had a question about passing an argument to a Civil 3D command. For some reason, I can't figure out why it won't let me pass an argument to it. What I am trying to do is add surface labels at every...

    Started by broncos15‎, 13th Apr 2016 08:44 pm
    • Replies: 7
    • Views: 616
    3rd Jun 2016 04:20 am Go to last post
  15. Flip Parameter, Dynamic Blocks & Autolisp

    Does anyone know a clean way to toggle a specified flip parameter using auto lisp visual lisp? I use the getdynprops, getdynpropvalue, putdynpropvalue for most of my dynamic block changing needs...

    Started by TheyCallMeJohn‎, 16th Aug 2013 05:10 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 3,187
    2nd Jun 2016 10:23 pm Go to last post
  16. Change Layer-Keep original properties LISP routine

    I am looking for a LISP routine that will change the layer of multiple objects yet have is so each object maintains the same properties(i.e. color, linetype) of the original layer. Thanks...

    Started by BibJim2112‎, 30th May 2016 06:53 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 699
    2nd Jun 2016 07:16 pm Go to last post
  17. ARRAYPATH command and Lisp on Polyline

    Hello to all, I have a problem with the ARRAYPATH command and lisp. It seems that use (command "_.arraypath" .....) has a different behavior than that of the command used manually. I made many...

    Started by Lupo76‎, 2nd Jun 2016 05:20 pm
    • Replies: 0
    • Views: 195
    2nd Jun 2016 05:20 pm Go to last post
  18. Run this LISP got this error "; error: bad argument type: VLA-OBJECT"

    Found this Lisp, is to change the leader lines "dim line color" field to "Bylayer" Run this lisp & got this error what is wrong? Lisp by Henrique (defun c:test (/ ss vlaObj) (if (setq ss...

    Started by Tripledot‎, 2nd Jun 2016 01:32 am
    • Replies: 7
    • Views: 318
    2nd Jun 2016 07:06 am Go to last post
  19. Lisp to preview all blocks in a drawing

    Hi guys, I'm working on this code to preview all blocks in a drawing, but theres a problem I can't figure out: I need somehow to get the bounding box from each block, and compare their heights ( Y...

    Started by Grrr‎, 31st May 2016 09:13 pm
    • Replies: 8
    • Views: 495
    1st Jun 2016 07:14 pm Go to last post
  20. 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
    32 Pages
    1 2 3 ... 32
    • Replies: 314
    • Views: 91,342
    1st Jun 2016 09:43 am Go to last post
  21. Import text from csv (X,Y,Code)

    Hi, i'm want to import the code (or description) from csv file (X,Y,Code) on the coordinates of each point. I can do it in excel, but i'm looking for a easy way. The layer could be...

    Started by ichavarria‎, 31st May 2016 09:59 pm
    • Replies: 3
    • Views: 278
    31st May 2016 11:36 pm Go to last post
  22. Fix block tranparency

    Hi I use a tool from Gilles Chanteau to fix blocks. The only thing that i miss is a way to set object transparency 'byblock' This has been on my wish list for some time but i cannot figure out...

    Started by halam‎, 31st May 2016 09:51 pm
    • Replies: 0
    • Views: 181
    31st May 2016 09:51 pm Go to last post
  23. Boundary Creation Lisp- by Text selections

    Thread: Boundary Creation Lisp- a request HI, I just learned how to create boundary smoothly from the above post. is there a way to create boundary by the coordinates of selected Texts?

    Started by zefreestijl‎, 31st May 2016 03:58 pm
    • Replies: 5
    • Views: 313
    31st May 2016 09:21 pm Go to last post
  24. Opening dwgs in a script that has spaces in the filenames & directories

    I got around the first problem of having file names & directories with spaces in them by using Vla-open and it works fine for single dwgs. I need to do a script process, the script opens a dwg makes...

    Started by BIGAL‎, 26th May 2016 08:10 am
    • Replies: 8
    • Views: 408
    31st May 2016 05:42 pm Go to last post
  25. GrSnap question

    Hi guys, I'm continiuing my experiments on this grread thing and I have question about this GrSnap function from Lee Mac http://www.lee-mac.com/grsnap.html I can't figure out how to implement it in...

    Started by Grrr‎, 31st May 2016 10:39 am
    • Replies: 2
    • Views: 213
    31st May 2016 10:49 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