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

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: 28,268
    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: 44,967
    18th Sep 2006 10:46 pm Go to last post
  1. Toggle layer freeze/thaw

    Hello How can i code autolisp script to toggle freeze/thaw specific layer? If x layer is frozen thaw it and vise versa Thanks

    Started by samifox‎, 23rd Feb 2013 05:14 pm
    • Replies: 7
    • Views: 599
    23rd Feb 2013 08:50 pm Go to last post
  2. Fas- connect horizontal and vertical aligned points

    Hi experts, Need lisp to fast-connect points that are ALMOST horizontal or vertical aligned. It will ask for 1)pick first point 2) Go North, South, East or West 3) fuzz/tolerance distance left or...

    Started by ctdlc888‎, 21st Feb 2013 12:42 am
    • Replies: 2
    • Views: 329
    23rd Feb 2013 08:22 am Go to last post
  3. How to auto load previous value

    (setq scale (getint " Enter the scale:"))How can I feed a default scale. And after feeding a new value can I auto load it next time

    Started by wimal‎, 22nd Feb 2013 08:06 am
    • Replies: 7
    • Views: 551
    22nd Feb 2013 11:47 pm Go to last post
  4. Question What is the right dxf code to fix this Autolisp routine ??

    بسم الله الرحمن الرحيم الحمد لله وحده و الصلاة و السلام على من لا نبي بعده ،، و بعد In the Name of Allah, the Most Beneficent, the Most Merciful Dear kind members : I have a question : i...

    Started by سبع الليل‎, 22nd Feb 2013 12:20 pm
    • Replies: 5
    • Views: 421
    22nd Feb 2013 01:27 pm Go to last post
  5. Looking for a solution to group items by their vector

    I’m facing a sorting problem: in a drawing there are a number of circles that were placed in sets of 4 along arbitrary axes. The data that I have are the coordinates of the centers for those circles...

    Started by MSasu‎, 21st Feb 2013 02:04 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 480
    22nd Feb 2013 01:15 pm Go to last post
  6. Put Coordinates into Separate List

    Hey Guys ... Here i need Little Help (setq ename(vlax-ename->vla-object ss)) (setq points(vlax-safearray->list (vlax-variant-value(vla-get-coordinates ename)))) See here the lisp returned ...

    Started by gS7‎, 21st Feb 2013 01:22 pm
    • Replies: 9
    • Views: 339
    22nd Feb 2013 07:50 am Go to last post
  7. Confirm Character is an Integer

    In trying to validate some file names I need to read the 5th character in a string and confirm it's an integer . I know how to grab the 5th character in the string but how does one confirm it's a...

    Started by Bill Tillman‎, 21st Feb 2013 08:21 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 849
    22nd Feb 2013 07:20 am Go to last post
  8. Question Inconsistent Results After Zoom - E

    When I run this lisp with a script using Autoscript, all the code to change layers, etc. works fine, but it does not always zoom to extents and save in the zoomed position... only sometimes. I could...

    Started by nick777‎, 21st Feb 2013 05:48 pm
    • Replies: 2
    • Views: 406
    21st Feb 2013 10:59 pm Go to last post
  9. Load Plot Style Names

    I am trying to write a routine to load a new Plot Style Table, and then set a certain Plot Style Name to all layers. Here is the code I use to set the new Plot Style Table, and it works fine: ...

    Started by parkerdepriest‎, 21st Feb 2013 08:06 pm
    dictsearch, lisp, plot, style
    • Replies: 0
    • Views: 650
    21st Feb 2013 08:06 pm Go to last post
  10. Basic - replace characters using vl-string-subst ( / or \)

    How to replace this characters / or \ in the string I try (setq usuario (vl-string-subst "" "\\" usuario)) But not is ok, characters don't replace Sample usuario =...

    Started by rodrigo_sjc_sp‎, 21st Feb 2013 03:20 pm
    vl-string-subst / or \
    • Replies: 7
    • Views: 493
    21st Feb 2013 06:16 pm Go to last post
  11. Feedback On Code That allows only 5 digit interger input.

    Just experimenting with the 'while' function and looking for feedback as to the quality of my coding. (defun c:test (/) (setq count 0) (setq 5dig (getint "\nEnter a 5 digit number: "))...

    Started by Reu‎, 21st Feb 2013 04:56 pm
    5 digit, code, while function
    • Replies: 3
    • Views: 283
    21st Feb 2013 05:24 pm Go to last post
  12. Help, Importing a .txt Table to Cad

    Hi everyone! i'm trying to find a lisp to import tables in a .txt file to autocad but i dont know where to start this task. i had an idea that is : copy the tables to excel and then paste in...

    Started by NEXTMARCUS‎, 19th Feb 2013 03:33 pm
    3 Pages
    1 2 3
    • Replies: 21
    • Views: 1,329
    21st Feb 2013 03:26 pm Go to last post
  13. The results obtained with the function grread

    Hi there, Does anyone know if using function: (setq gr (grread T 15 0) vt (CADR g) cd (car gr)) vt code is the same when I press a button on a toolbar (eg "Object Snap") ?

    Started by Costinbos77‎, 19th Feb 2013 03:54 pm
    • Replies: 5
    • Views: 414
    21st Feb 2013 03:24 pm Go to last post
  14. Finding Parenthesis for if & progn Statements

    OK, so everyone knows that using the IDE with AutoLISP you can enter a closing paren and the cursor will quickly flash at the location of the opening paren which the one just typed is paired to. Now...

    Started by Bill Tillman‎, 18th Feb 2013 10:13 pm
    • Replies: 9
    • Views: 409
    21st Feb 2013 03:16 pm Go to last post
  15. Close windows application

    Is it possible to close a windows application via lisp? ie mspaint, excel or word. Thanks.

    Started by ketongin‎, 18th Feb 2013 10:47 pm
    • Replies: 9
    • Views: 622
    21st Feb 2013 01:31 pm Go to last post
  16. Question need help in hiding all entities type except text entity with specified conditions!

    some example of 'specified condition' need are; - hide all EXCEPT text entity of only integer number with only 10 digits - hide all EXCEPT text entity of only alphabet letters with only 10...

    Started by jamesfui‎, 21st Feb 2013 12:46 pm
    • Replies: 1
    • Views: 162
    21st Feb 2013 12:51 pm Go to last post
  17. Attribute Error

    Hi guys, i am trying to update my code which is as follows, which i am using to get X,Y,Lat,Long,Bearing & Distance of attribute block from center location : (defun c:1 (/ file dta p i) ...

    Started by satishrajdev‎, 21st Feb 2013 06:47 am
    • Replies: 5
    • Views: 258
    21st Feb 2013 09:54 am Go to last post
  18. Excel data Coordinates to Line / Drawing

    I want to drawn LINE by excel data to autocad 2010, I have excel file x,y and z coordinates. I want to draw line to import excel data coordinates to autocad ? Please send the steps / procedure...

    Started by mohd330330‎, 21st Feb 2013 07:40 am
    • Replies: 1
    • Views: 1,087
    21st Feb 2013 08:15 am Go to last post
  19. Read File Error

    In the interest of keeping this Post as short as possible. I am trying to make a program that converts a BMP to a list of coordinates with color. ((X,Y)(R,G,B)) ((125,365)(125,255,100))...

    Started by CADWarrior‎, 19th Feb 2013 05:22 pm
    • Replies: 4
    • Views: 355
    20th Feb 2013 06:57 pm Go to last post
  20. Set precisions

    (setq p1 (getpoint "/ Pick on insertion point")) (setq x (car p1)) (setq x1 (/ x 1000)) (command "text""j""ML" p1 100 0 x1 )When I pick a point it insert the x value, but how can reduce...

    Started by wimal‎, 20th Feb 2013 11:24 am
    • Replies: 7
    • Views: 321
    20th Feb 2013 12:30 pm Go to last post
  21. Redefine specific block in drawing and save

    I am hoping there's a routine out there already that would do the following, although I could not find one on the site. I am reaching out to you experienced programmers out there. I need a lisp...

    Started by john_waggs‎, 15th Feb 2013 12:25 am
    • Replies: 7
    • Views: 495
    20th Feb 2013 12:25 pm Go to last post
  22. Visual Lisp & AutoCAD Mechanical

    How do I connect to and use AutoCA mechanical API using Visual Lisp. I have tried hard but can't find how to do this. Plrase help.

    Started by NirantarVidyarthee‎, 19th Feb 2013 12:50 pm
    • Replies: 7
    • Views: 703
    20th Feb 2013 09:27 am Go to last post
  23. Multiple Attribute Export

    hi all, I am using LEE MAC's code for getting attribute value which is as follows :- (defun LM:vl-GetAttributeValue ( block tag ) (setq tag (strcase tag)) (vl-some (function ...

    Started by satishrajdev‎, 20th Feb 2013 06:06 am
    • Replies: 2
    • Views: 274
    20th Feb 2013 08:15 am Go to last post
  24. PLINE between basepoints of blocks

    Hi All, I have the below code that I use to insert a light fitting as a block. It prompts for the room size and number of light fittings. I'm wondering if there is a way to draw a polyline between...

    Started by nimble‎, 18th Feb 2013 07:59 am
    • Replies: 3
    • Views: 361
    20th Feb 2013 07:05 am Go to last post
  25. Change Attribute-value into blocks by CommandLine?

    Well, i am relly newbie programing in AutoLisp, but i would like send you a question about renaming "attribute value" into a block with the commandLine I.ve got this problem, a topography plan with...

    Started by AARi‎, 17th Feb 2013 03:33 am
    • Replies: 3
    • Views: 437
    20th Feb 2013 03:07 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