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

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: 76,623
    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: 68,919
    18th Sep 2006 10:46 pm Go to last post
  1. How to save data attached to a variable

    Hello everybody, How can I save data accumulated by a variable at the end of running a lisp routine and save it along with the drawing to be used at a later session. In my case the data relates to...

    Started by aloy‎, 23rd Sep 2017 11:59 am
    2 Pages
    1 2
    • Replies: 14
    • Views: 246
    Today 01:00 pm Go to last post
  2. Lisp works in autocad but not civil 3d

    Hellos I have several lisps and I have made several worthy observations 1. There is a lisp that is extremely slow in civil 3d but fast in vanilla autocad 2. Another lisp wont run in Civil 3D but...

    Started by Alcapone001‎, 12th Sep 2017 01:05 pm
    2 Pages
    1 2
    • Replies: 10
    • Views: 353
    Today 12:54 pm Go to last post
  3. Excel spreadsheet used to update an AutoCAD block picture.

    I don't know if this is possible but have to ask. If I had an Excel spreadsheet sheet that had a list of part numbers, could I Import that into AutoCAD so that it would load premade 3d blocks where...

    Started by davidgeorge212‎, 22nd Sep 2017 04:12 am
    autocad, blocks, data, excel, sheet
    • Replies: 6
    • Views: 221
    Today 12:30 pm Go to last post
  4. Automatic Dimensioning

    Hello everyone; I need a lisp code which puts dimension automatically between the center of each circle chosen and endpoints of chosen lines as shown in the attached drawing. Thanks.

    Started by Can‎, 15th Jun 2017 01:59 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 1,576
    Today 11:52 am Go to last post
  5. ErrNo Variable Issue

    Hello, Odd behavior concerning errno variable and UCS command: (setvar 'errno 0) Using "UCS" command, rotate UCS to OBject, selecting nothing: (getvar 'errno)

    Started by PDuMont‎, 18th Sep 2017 04:12 pm
    • Replies: 7
    • Views: 257
    Today 11:50 am Go to last post
  6. Speeding up code. Using command calls vs vl/vla methods

    I 'm trying to optimize my code which parse through many line elements (representing 3D piping network) which may be of ten of thousands of lines. In order to perform various tasks I am using the ucs...

    Started by MJLM‎, 23rd Sep 2017 02:13 pm
    • Replies: 7
    • Views: 250
    Today 09:38 am Go to last post
  7. Lisp not work in model only layout

    hello, i got a lisp that only work in layout who can modified it so i also can run in the model. thxxxxx in the model it says:; error: bad argument type: lselsetp nil (Defun c:vplk () (setq...

    Started by CAD‎, Yesterday 05:04 pm
    2 Pages
    1 2
    • Replies: 17
    • Views: 205
    Today 08:55 am Go to last post
  8. Fillet LINES and/or a PLINE

    Hi I'm trying to come of with a piece of code which will have the ability to fillet with a given radius regardless if it is a polyline of line. I got this routine working for Rebar bending but...

    Started by halam‎, Yesterday 10:08 pm
    • Replies: 1
    • Views: 111
    Yesterday 11:22 pm Go to last post
  9. lisp make layer manager current filter ALL

    Heelloo, Is there a lisp that can make layer manager properties filter All current. with command:currentfilterall see attachment.

    Started by CAD‎, Yesterday 08:34 pm
    • Replies: 3
    • Views: 95
    Yesterday 09:40 pm Go to last post
  10. Mtext instand bylayer

    Hello, Is there a lisp that could change mtext instant bylayer, without selection (in en outside blocks), with command mBylayer:roll:

    Started by CAD‎, 20th Sep 2017 05:17 pm
    2 Pages
    1 2
    • Replies: 17
    • Views: 331
    Yesterday 05:26 pm Go to last post
  11. Urgent Help Required...combing lisp to one

    00 - for rotating selected text to zero angle t2 - for changing the text height to 2.0 xx - to remove the PXX/ & to rearrange the text Arial- to change selected font type to ArialBlack i...

    Started by amb2301‎, 22nd Sep 2017 12:51 pm
    • Replies: 4
    • Views: 211
    Yesterday 06:12 am Go to last post
  12. LISP Code to Select Block in Layouts and Update Attributes

    I'm working with CAD files which contain a dozen or so layout tabs and each on contains a block which is the title block for the drawing page. This block contains about 10 attributes which I am...

    Started by Bill Tillman‎, 9th Aug 2017 09:34 pm
    3 Pages
    1 2 3
    • Replies: 20
    • Views: 863
    23rd Sep 2017 03:45 am Go to last post
  13. Visual Lisp Utility Functions Library

    How does everybody store their functions they use over and over? I'd like to start building a library of typical functions but am not sure how to build the document to store them for easy retrieval...

    Started by JRL5735‎, 22nd Sep 2017 09:36 pm
    function, library, utility, visual lisp
    • Replies: 1
    • Views: 147
    23rd Sep 2017 01:38 am Go to last post
  14. Please help multiple lines for redefining path to xrefs

    Problem I have 13 floors when and I have options that I need to work when changing xref paths. I can do 2 floors with the initget "1 2" but I cant seem to get this to work with more than 2 floors. ...

    Started by antoniusxylem‎, 19th Sep 2017 10:44 pm
    multiple command
    • Replies: 5
    • Views: 214
    22nd Sep 2017 11:08 pm Go to last post
  15. find nearest osnap (intersection) point to block baspoint

    hello every one ... i have a block and i want to move this block from its base point to the nearest (rectangle) in a grid (false ceiling tiles) my idea is to pick the block and get its base...

    Started by handasa‎, 21st Sep 2017 05:15 pm
    • Replies: 9
    • Views: 198
    22nd Sep 2017 08:52 pm Go to last post
  16. Complex Polyface Mesh to Solid

    Hello everyone I am using AutoCAD 14 in my company, and currently working on a project containing a complex blocks of buildings and walls. some walls are complicated, and the customer provided only...

    Started by UserID‎, 21st Sep 2017 03:20 pm
    • Replies: 6
    • Views: 219
    22nd Sep 2017 11:52 am Go to last post
  17. Getting a point of an entity inside a block as WCS coordinates

    I have a circle inside a block and this block is inserted in a drawing. I want to get the coordinates of the center of that circle in WCS. Obviously, the center of the circle is not the insertion...

    Started by MJLM‎, 20th Sep 2017 01:28 pm
    2 Pages
    1 2
    block transform point
    • Replies: 13
    • Views: 421
    22nd Sep 2017 10:56 am Go to last post
  18. Set MLeader to Existing MLeader Style via LISP

    Hello, I am trying to create a lisp routine that sets all existing MLEADERs to a certain pre-set MLEADERSTYLE, the equivalent of doing a Quick Select for Mleaders, and setting the style under the...

    Started by parkerdepriest‎, 11th Dec 2012 09:01 pm
    • Replies: 7
    • Views: 5,202
    22nd Sep 2017 09:13 am Go to last post
  19. Flip Multiple Texts 180 Degrees

    I am trying to track down a lisp routine that will flip text 180 degrees. For background information, I have a drawing with a ton of MTEXT items in it, all at different angles (for subdivision lot...

    Started by Cadologist‎, 7th Apr 2010 11:03 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 9,778
    22nd Sep 2017 06:50 am Go to last post
  20. GATTE not working like it should

    Any of you guys seen this? I am trying to use the GATTE command that I have been using for YEARS!! If if pick the block I get this Command: gatte Initializing... Select block or attribute...

    Started by NZ Steve‎, 3rd Nov 2009 09:57 pm
    • Replies: 7
    • Views: 6,083
    21st Sep 2017 05:36 pm Go to last post
  21. Question Replace multiple textstring

    Hello, I try to find a lisp that will search and replace text within a user selection. This piece of code that I found on a very old forums on the net do almost exactly what I need. The only...

    Started by Zykl0‎, 20th Sep 2017 08:55 pm
    replace, text
    • Replies: 6
    • Views: 183
    21st Sep 2017 05:29 pm Go to last post
  22. Lisp to create a boundary around blocks that are not touching.

    Hey everyone. Thanks in advance for your help. I am looking for a LISP. Unfortunately I do not know how to write them myself and I have looked pretty much everywhere for one and I just cannot seem...

    Started by dollada06‎, 15th Sep 2017 06:18 pm
    3 Pages
    1 2 3
    • Replies: 22
    • Views: 684
    21st Sep 2017 04:37 pm Go to last post
  23. Auto lisp program to dxf out multiple sections of a drawing.

    Ok i am very new to writting lisp programs. Started writing on today and it doesnt do anything for me. What i need it to do is select areas on a drawing and then dxf those parts under the name...

    Started by dthoren‎, 14th Sep 2017 08:40 pm
    2 Pages
    1 2
    • Replies: 14
    • Views: 465
    21st Sep 2017 01:28 pm Go to last post
  24. Help with code : Adding Prefix or Suffix to block attribute (by David Bethel)

    Hi David Bethel .I know that this is a very old post but i need a litle help with your code. I have some attribute blocks and i use your code to add add Suffix or Prefix. The problem that most of...

    Started by prodromosm‎, 20th Sep 2017 02:48 pm
    • Replies: 8
    • Views: 200
    21st Sep 2017 01:03 pm Go to last post
  25. ZeroRotation.lsp Set rotation of objects to zero (based on current UCS)

    A request in another thread made me dig this up and do a little updating. I thought I'd post it for you good people. This will rotate all selected MText, Text, Multileaders and Blocks to match the...

    Started by alanjt‎, 23rd Oct 2009 04:31 pm
    2 Pages
    1 2
    • Replies: 17
    • Views: 13,847
    21st Sep 2017 10:31 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