+ Post New Thread
Page 101 of 630 FirstFirst ... 51 91 99 100 101 102 103 111 151 201 601 ... LastLast
Threads 2501 to 2525 of 15733

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: 79,539
    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: 69,946
    18th Sep 2006 10:46 pm Go to last post
  1. Maximum Stopping Sight Distance Lisp

    Hello guys, I am wanting to measure the maximum stopping sight distance from lane 1 of a carriageway (pline 1) to the central reserve barrier (pline 2)at multiple intervals along the route. I...

    Started by Sideshow-Cad‎, 24th Jun 2015 10:06 am
    • Replies: 8
    • Views: 3,870
    8th Nov 2015 01:00 am Go to last post
  2. remember copy

    press and press enter button, continue to copy. end by press ESC button ;* * * * * todaymycode :D 我今天写的代码 * * * * * ;记忆复制。 ;主函数。 (defun c:tt() ;取得用户自定义变量判断。 (setq selectiona(ssget) ...

    Started by lijinsong1972‎, 6th Nov 2015 06:26 pm
    • Replies: 1
    • Views: 1,257
    7th Nov 2015 05:57 pm Go to last post
  3. Question Silently Import Page Setups, redefine if exist! HELP!

    I currently have a routine that imports Page Setups from a master file. Its like 20 plus page setups. My question is that when this routine runs and a drawing currently has one or more page setup...

    Started by tmelancon‎, 22nd Oct 2015 04:14 pm
    • Replies: 7
    • Views: 2,466
    7th Nov 2015 05:28 am Go to last post
  4. Block placment using Excel

    Hello all, I hope someone can help me? I am doing a survey to help a friend to build a specially designed house for his disabled son. I have looked at the other posts but cannot...

    Started by Richt1977‎, 25th Jul 2008 01:18 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 14,409
    7th Nov 2015 05:06 am Go to last post
  5. Display hatch area as a label

    Say I have 100 irregular hatches. I want to somehow display the area of each of these hatches on the screen (i.e. area labelled over top of the hatch). I know I can check the properties of each hatch...

    Started by Organic‎, 17th Jan 2013 12:10 pm
    4 Pages
    1 2 3 ... 4
    • Replies: 39
    • Views: 18,197
    6th Nov 2015 04:59 pm Go to last post
  6. Lsp to create groups by layer, with layer name as group name

    Morning All, Habitual LT user here - so no lsp before. Been given 2 month access to a 2014 license to get this job out of the door. I'm trying to create a lsp that grabs the content of a...

    Started by Oni‎, 6th Nov 2015 12:38 pm
    group, layer, lsp
    • Replies: 0
    • Views: 1,718
    6th Nov 2015 12:38 pm Go to last post
  7. BLOCKREPLACE with external reference ?

    I would like to replace a block A by another that is A A (twice the block with extras) But with "BLOCKREPLACE" the "AA" had to be present in the drawing. When I run BLOCKREPLACE the replace...

    Started by con‎, 6th Nov 2015 09:20 am
    • Replies: 1
    • Views: 769
    6th Nov 2015 12:06 pm Go to last post
  8. lisp searches at wrong location

    Hi I have lisp's in 2 locations (A and B) for inserting blocks. Whenever I run a Lisp located in A it searches within A for the right block. But when I run a lisp located in B it still searches...

    Started by con‎, 5th Nov 2015 04:48 pm
    • Replies: 3
    • Views: 894
    6th Nov 2015 09:12 am Go to last post
  9. 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: 1,159
    6th Nov 2015 06:54 am Go to last post
  10. 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: 1,399
    5th Nov 2015 11:11 pm Go to last post
  11. 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: 2,394
    5th Nov 2015 07:44 pm Go to last post
  12. 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: 14,366
    5th Nov 2015 07:05 pm Go to last post
  13. 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: 1,419
    5th Nov 2015 06:12 pm Go to last post
  14. "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: 1,896
    5th Nov 2015 04:29 pm Go to last post
  15. 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: 1,641
    5th Nov 2015 03:49 pm Go to last post
  16. 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: 1,722
    5th Nov 2015 03:03 pm Go to last post
  17. 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: 2,409
    5th Nov 2015 02:40 pm Go to last post
  18. 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: 1,252
    5th Nov 2015 02:46 am Go to last post
  19. 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: 4,057
    4th Nov 2015 11:06 am Go to last post
  20. 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: 7,439
    3rd Nov 2015 01:17 pm Go to last post
  21. 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: 908
    3rd Nov 2015 11:31 am Go to last post
  22. 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: 3,814
    2nd Nov 2015 11:48 pm Go to last post
  23. 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: 4,971
    2nd Nov 2015 03:53 pm Go to last post
  24. 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: 2,472
    2nd Nov 2015 07:14 am Go to last post
  25. 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: 6,151
    1st Nov 2015 01:50 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