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

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: 42,019
    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: 51,257
    18th Sep 2006 10:46 pm Go to last post
  1. vl-string-translate

    I'm trying to use the vl-string-translate function to replace a character within a text string thus: (defun c:test ( / a b ) (setq a (entget(car(entsel)))) (setq b(cdr(assoc 1 a))) (princ...

    Started by Happy Hobbit‎, 5th Nov 2015 03:38 pm
    • Replies: 5
    • Views: 254
    6th Nov 2015 06:54 am Go to last post
  2. Crossing Feature Line Lisp routine

    I was wondering if there was a way to create a lisp routine that allows the user to select a feature line and then at any point where another feature line crosses it, it would either add a pi or an...

    Started by broncos15‎, 30th Oct 2015 12:48 am
    3 Pages
    1 2 3
    • Replies: 21
    • Views: 1,074
    6th Nov 2015 12:58 am Go to last post
  3. insert similar

    Hello, I am trying to select a specific block and re-insert it. Kinda like copy command, but using block's base point. The problem is that I can't figure out how to get the specific block: ...

    Started by Grrr‎, 5th Nov 2015 09:41 am
    • Replies: 8
    • Views: 292
    5th Nov 2015 11:11 pm Go to last post
  4. Lisp to stretch/move points on feature lines

    So I was able to create a lisp routine to allow the user to move a feature line without changing the elevation of feature line by messing with the osnapz value. Unfortunately I am having issues with...

    Started by broncos15‎, 4th Nov 2015 06:26 pm
    • Replies: 3
    • Views: 274
    5th Nov 2015 07:44 pm Go to last post
  5. Create viewport with a scale using a lisp

    Im trying to automate the process of creating layouts. Also i need a lisp function to use to create a viewport. I basically need to make a viewport in a certain layer (non printable of course) with...

    Started by sakinen‎, 10th Jul 2011 12:16 pm
    2 Pages
    1 2
    • Replies: 18
    • Views: 7,344
    5th Nov 2015 07:05 pm Go to last post
  6. Convert a string to a variable name

    Hello guys, I've a simple question for you :) I need to covert a string to a variable name. (nth i (strcat "I_" pippo)) where pippo is "100" and I_100 is the name of a list Thank :) GOT THE...

    Started by MastroLube‎, 5th Nov 2015 05:23 pm
    • Replies: 2
    • Views: 175
    5th Nov 2015 06:12 pm Go to last post
  7. "layerstate-save" can't overwrite the layer state?

    Hi all I use (layerstate-save "layer_color" nil nil) save the layer state. next, I change the layer color use (layerstate-save "layer_color" nil nil) again. then,restore.

    Started by AIberto‎, 5th Nov 2015 12:12 pm
    • Replies: 2
    • Views: 186
    5th Nov 2015 04:29 pm Go to last post
  8. How can I find out weather those lines are parallel or not

    (command "line"p1 p2"") (setq ent1 (entlast)) (command "line"p3 p4"") (setq ent2 (entlast))

    Started by wimal‎, 2nd Nov 2015 04:25 pm
    • Replies: 8
    • Views: 412
    5th Nov 2015 03:59 pm Go to last post
  9. Lisp File

    I want Autocad Coordinates to Excel Sheet. If it Possible , Can you send me Lisp file with commands?

    Started by Dileepk‎, 5th Nov 2015 02:16 pm
    • Replies: 3
    • Views: 218
    5th Nov 2015 03:49 pm Go to last post
  10. Exclamation What's wrong with my code

    Hello everyone I want to import data from text file but, I have some problem about my code Cloud you please help me? first type: (defun c:P_Import () (setq SourceFile (open...

    Started by mit‎, 4th Nov 2015 04:56 pm
    • Replies: 4
    • Views: 289
    5th Nov 2015 03:03 pm Go to last post
  11. How to create lisp for a simple equation? and paste it?

    Hello, First post here, I am interested in making a lisp for what may seem pretty simple. Let's say I have 3500 written in CAD. How can I make a lisp that takes this number and multiplies it by...

    Started by pkim1230‎, 5th Nov 2015 08:44 am
    • Replies: 5
    • Views: 221
    5th Nov 2015 02:40 pm Go to last post
  12. Match layer properties

    I have a quick question about the matchprop command. Is there an easy to access the matchprop settings variable? I have looked everywhere and I can't seem to find what it is. As a result, I have been...

    Started by broncos15‎, 3rd Nov 2015 01:17 am
    • Replies: 3
    • Views: 304
    5th Nov 2015 02:46 am Go to last post
  13. Remeber User Input for future use...

    Hi Guys, I have LISP that works great but I would like to take it to the next level. My LISP ask the user for a radius they would like to use. Then continues the command. I would love for the...

    Started by Cylis0509‎, 3rd Nov 2015 05:25 am
    2 Pages
    1 2
    • Replies: 15
    • Views: 658
    4th Nov 2015 11:06 am Go to last post
  14. List out missing number in series

    Hi, I am placing numbers in cad 2004,here i required tool to find out the list of missing number in between those in a .csv or .txt. 1)Example : if 1,2,3,5,68,99 Missing list, 4 6-67 69-98

    Started by vvvraju007‎, 8th Aug 2012 02:21 pm
    • Replies: 3
    • Views: 1,155
    3rd Nov 2015 02:09 pm Go to last post
  15. to get center of the to the two circle and length-width of rectangle by single click.

    Hello everyone. I am currently using AutoCAD2014. I am trying to code the program using AutoLISP. I am having 3D solid with some holes. I want to get the center of the circular hole and...

    Started by magan‎, 16th Nov 2014 08:13 am
    3 Pages
    1 2 3
    • Replies: 26
    • Views: 3,276
    3rd Nov 2015 01:17 pm Go to last post
  16. use rectang to make leadline.

    draw a rectang,then right click change side,then click to do leadline. :roll:

    Started by lijinsong1972‎, 3rd Nov 2015 11:31 am
    • Replies: 0
    • Views: 173
    3rd Nov 2015 11:31 am Go to last post
  17. Erasing tiny arcs

    Please do not rewrite the following lisp. We import drawings from about a dozen manufacturers of electical equipment for use in our mechanical assembly drawings. Several of these manufacturers...

    Started by Happy Hobbit‎, 31st Oct 2015 05:52 pm
    2 Pages
    1 2
    • Replies: 16
    • Views: 766
    2nd Nov 2015 11:48 pm Go to last post
  18. Switch between OPENED drawings (vla-activate)

    I need to switch to a specific OPENED drawing between 5. I know the name and the path It is already OPENED I HAVE USED THE VLA-ACTIVATE function but it opens a copy from the file adding a...

    Started by svorgodne‎, 16th Feb 2014 06:48 pm
    • Replies: 9
    • Views: 1,205
    2nd Nov 2015 03:53 pm Go to last post
  19. Open DWG not in Read Only Mode Lisp

    Hi, I found this lisp by renderman that opens up a DWG. I've employed this with another Lisp to Open up a DWG from excel. However the below code opens up in read only mode. How can i get it...

    Started by Argo‎, 30th Oct 2015 05:09 am
    • Replies: 8
    • Views: 381
    2nd Nov 2015 07:14 am Go to last post
  20. Nearest point to a line from a point

    I need to find out the coordinates of the nearest point on a selected line from a picked point by lisp. Please help me.

    Started by wimal‎, 20th Oct 2015 07:05 am
    3 Pages
    1 2 3
    • Replies: 25
    • Views: 1,202
    1st Nov 2015 01:50 pm Go to last post
  21. Website with free Autolisp scripts

    Hello everybody! Few programmers (including myself) decided to create a website with free (for now) AutoLisp programs and scripts for Autocad. Well, we have few questions to define where to...

    Started by Autolisp_Script‎, 31st Oct 2015 03:28 pm
    autocad, autolisp, program, routine, script
    • Replies: 1
    • Views: 327
    31st Oct 2015 08:14 pm Go to last post
  22. Command through comment

    Could anyone help me to make commend through another commend. Example if i selet some objects then i need to draw line in one of that object without losing what i select can i draw that line...

    Started by wrha‎, 31st Oct 2015 04:55 pm
    • Replies: 0
    • Views: 201
    31st Oct 2015 04:55 pm Go to last post
  23. Getting the savepath directory of current drawing in variable

    Hi guys, I've been trying to get the savepath directory of my current drawing into a variable so i can modify it's string to only get the numbers out of the string. I have had no succes with...

    Started by yonderbob‎, 30th Oct 2015 11:42 am
    2 Pages
    1 2
    • Replies: 15
    • Views: 583
    30th Oct 2015 06:27 pm Go to last post
  24. Laughing Help required

    Dear all, I am new user of this forum. I have download a autolisp to generate CSV file by selecting text in a sequence. It was working earlier fine. But after formatting my pc it gives an error. ...

    Started by mcad_m‎, 29th Oct 2015 07:23 am
    • Replies: 7
    • Views: 391
    30th Oct 2015 04:36 pm Go to last post
  25. Question How to insert many sheets on one dwg file.

    Hi to all, Any one knows a Lisp that could insert many files (sheets) on only one dwg file? Thanks in advance!...

    Started by CafeJr‎, 30th Oct 2015 02:03 pm
    file, files, group, insert sheets
    • Replies: 2
    • Views: 253
    30th Oct 2015 02:45 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