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

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,864
    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,450
    18th Sep 2006 10:46 pm Go to last post
  1. Request Lisp PLEASE!- make line and copy position Y, paste it to position Z

    can someone help me make a lisp loop routine to make LINE and copy the Position Y, and paste it as Position Z??? so Position Y and Position Z will be the same?? please???? this would help us a lot!...

    Started by ktbjx‎, Today 03:48 pm
    • Replies: 4
    • Views: 60
    Today 09:13 pm Go to last post
  2. LISP code is abruptly stopping for invalid option keyword but I can't figure out why.

    FIXED IT. CARRY ON! LISP newbie here. I am writing the following code to automatically assign our office's layers to files we receive from a source outside the office. Many of these commands...

    Started by PinkSnail‎, Today 04:38 pm
    • Replies: 3
    • Views: 62
    Today 07:22 pm Go to last post
  3. Lisp to send *display* colors to back

    First, I would like to credit user "irneb" for the first portion of this code that selects objects based on their display color. With the use of this, I have added the functionality to send those...

    Started by jweber‎, Today 06:40 pm
    • Replies: 0
    • Views: 34
    Today 06:40 pm Go to last post
  4. AECC Label Styles Editing Via LISP

    I had a quick question if it is possible to turn off all the background masks for 3D label styles. I have 2 identical drawings (one is just a copy of the other that is done at the end of the...

    Started by broncos15‎, Today 05:41 pm
    • Replies: 1
    • Views: 37
    Today 06:01 pm Go to last post
  5. LISP Request - Simple - Change UCS rotation in multiple layouts

    Hey guys! I have several drawings, each containing multiple layouts/viewports that need UCS to be set to World. It'd be great if I could open a drawing, run the lisp, and have a dialog box pop...

    Started by eyeofnewt555‎, Today 04:21 pm
    layout origin coordinates, lisps, ucs
    • Replies: 0
    • Views: 51
    Today 04:21 pm Go to last post
  6. Increment Variables Sequentially Within LISP Routine

    Hello! I've done some searching and have not seen anything that answers this. If I have a variable that represents a selection set of objects, how would I assign a different variable for each...

    Started by drafter_joe‎, 22nd Jun 2016 07:15 pm
    • Replies: 6
    • Views: 268
    Today 03:55 pm Go to last post
  7. request lisp assistance please - changing fonts on all my blocks from kalinga to Aria

    Hi i have a whole heap of blocks that have text in them, for some reason they have all changed to Kalinga when i upgraded autocad. Ive tried changing the text style but it doesn't work, i actually...

    Started by mvrcad‎, Today 03:58 am
    • Replies: 2
    • Views: 109
    Today 03:10 pm Go to last post
  8. Idea LISP Request Offset&Extrude&Substract

    Hello, could You help me with LISP that will do stuff like this: 1) I have a some polylines on drawing. All are closed. I start the lisp and could select one. 2) Selected (1st) polyline should be...

    Started by zwonko‎, 18th Jun 2016 11:21 pm
    • Replies: 3
    • Views: 229
    Today 01:22 pm Go to last post
  9. Multiple Points -> add z-value as label

    Hi all. I have found this script by Lee Mac, which adds x/y coordinates to a selection of points. I wonder what needs to be done to display the z-value of the points only. Though I had a try, I...

    Started by careca‎, 18th Oct 2012 02:09 am
    2 Pages
    1 2
    • Replies: 18
    • Views: 3,408
    Today 10:39 am Go to last post
  10. Retrieve pick point from a selected text entity

    Hi Guys, Is there a function that return the pick point from a text entity?? Thanks

    Started by dax‎, 17th Jun 2016 12:54 pm
    3 Pages
    1 2 3
    • Replies: 27
    • Views: 683
    Today 09:48 am Go to last post
  11. Question Lisp to calculate versine and insert the text into a drawing

    Hi newbie here, I'm looking for help to create a lisp file that will calculate the versine of an arc then insert the answer as text into a drawing. (I'm useless at explaining). for example if I...

    Started by ASH71‎, 23rd Jun 2016 03:34 pm
    • Replies: 8
    • Views: 268
    Today 09:45 am Go to last post
  12. Breaking TEXT by crossing Line

    Can anyone help me to split several text and Mtext objects based on a vertical polyline passing through them? This is what I mean:

    Started by bababarghi‎, 18th Jun 2016 02:01 am
    • Replies: 2
    • Views: 226
    Today 09:42 am Go to last post
  13. Lisp to change text height

    Is there a lisp to simply change the height of a specific text in a layer? I wrote this so far, but having troubles. (defun C:CommandName () (command "_.chprop" (ssget "_X" '((8 ....

    Started by CADNADIAN‎, 23rd Jun 2016 04:54 am
    2 Pages
    1 2
    • Replies: 10
    • Views: 379
    Yesterday 05:05 am Go to last post
  14. Lisp for exporting texts and line length to csv

    Hello guys, I couldn't add the length of the line to csv. I want to extract like this: K5172, 60/60, 720 Can anyone help me with this code? (defun c:rp2 (/ ent1 ent2 ent3 len fh fname)

    Started by Avcit‎, 24th Jun 2016 03:17 pm
    • Replies: 9
    • Views: 259
    25th Jun 2016 06:35 pm Go to last post
  15. How to print a variable out in a prompt?

    What I will select is a 3d polyline. (defun c:coord ( / e r) (prompt "\nchoose a onject!") (setq e (entget (car (entsel)))) (setq r 1) (setq count 0) (while r

    Started by Wwx95‎, 24th Jun 2016 11:11 pm
    • Replies: 3
    • Views: 194
    25th Jun 2016 10:35 am Go to last post
  16. Question Use Autolisp to draw a pline.

    Hi, can anyone help to chech what's wrong with my code,I can not get the figure. (defun c:huatu() (setq n (getint "Input number of points: ")) (while(> n 0) (setq n (- n 1)) (progn...

    Started by Wwx95‎, 10th Jun 2016 10:02 pm
    2 Pages
    1 2
    • Replies: 10
    • Views: 449
    24th Jun 2016 08:59 pm Go to last post
  17. Problem With Trans Function

    Hi, I not regularly use trans function in my routine, so quite new to understand this functions behavior. I have attached drawing contains two rectangles with at different planes or you can say...

    Started by satishrajdev‎, 24th Jun 2016 08:11 am
    2 Pages
    1 2
    • Replies: 11
    • Views: 278
    24th Jun 2016 12:08 pm Go to last post
  18. Looking for a Lisp to simplify wall lines!

    Hi everyone! I would like to know if there is already a program about creating new lines (less lines) over existing lines within maximum a 1/16" difference between the original lines and the new...

    Started by stlo‎, 21st Jun 2016 03:59 pm
    2 Pages
    1 2
    • Replies: 10
    • Views: 426
    24th Jun 2016 04:24 am Go to last post
  19. Question lisp for changing all objects in a block to layer "0"

    Does anyone have a lisp that will change all the objects within all the blocks in a given dwg to layer "0" (while maintaing the block on the layer it was inserted into)? I have tried FixBlock, but it...

    Started by chulse‎, 4th Jan 2008 02:23 pm
    3 Pages
    1 2 3
    • Replies: 26
    • Views: 23,982
    23rd Jun 2016 09:14 pm Go to last post
  20. Question Attributed text tag

    I am using attributed text wire tags. I was wondering if there is a quick way to add a D to the front of my wire tag? The fastest way I have found so far is using the properties box EX. tag S,V....

    Started by Efeezy‎, 23rd Jun 2016 05:27 pm
    attributed text tag
    • Replies: 1
    • Views: 157
    23rd Jun 2016 05:48 pm Go to last post
  21. Lisp For Drawing Branch Duct

    To all of the HVAC guys on Cadtutor Does anyone has a lisp to draw a branch duct. Thanks in advance Vivian

    Started by viviancarvalho‎, 27th Apr 2010 08:13 am
    2 Pages
    1 2
    • Replies: 16
    • Views: 7,631
    23rd Jun 2016 11:57 am Go to last post
  22. Error encounter for color changing lisp

    Been Using this colour changing lisp. So far its good. But found that some lines will not change & encounter error instead. Attached is dwg. Left side of line cannot change. Right side can ...

    Started by Tripledot‎, 22nd Jun 2016 01:35 am
    2 Pages
    1 2
    • Replies: 11
    • Views: 317
    23rd Jun 2016 03:47 am Go to last post
  23. lisp to select and alter a closed set of lines by clicking inside the enclosed shape

    Hi, I'm still learning lisp, and every application seems to be totally new, with little I can learn from the last lisp! I don't expect this one to be written for me, my question is just whether...

    Started by YZ‎, 21st Jun 2016 06:49 am
    • Replies: 4
    • Views: 198
    23rd Jun 2016 03:35 am Go to last post
  24. Drawing Rectangle using Perpendicular Reference Point of 2 Polyline

    Hi Everyone, I'm very new in writing lisp, but I was trying to write a lisp that could help me draw a rectangle using the perpendicular reference point of 2 polyline. Attached is a picture of how...

    Started by avarte‎, 21st Jun 2016 09:16 am
    • Replies: 7
    • Views: 349
    23rd Jun 2016 02:18 am Go to last post
  25. Unhappy 【Help】How to mark this Drawing?

    How to select the straight line of rectangular box in a circle, and then round of selection mark? And straight to the point of tangency of a circle?:(

    Started by myloveflyer‎, 20th Jun 2016 08:14 am
    • Replies: 1
    • Views: 238
    23rd Jun 2016 02:03 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