+ Post New Thread
Page 3 of 494 FirstFirst 1 2 3 4 5 13 53 103 ... LastLast
Threads 51 to 75 of 12328

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: 29,277
    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: 45,347
    18th Sep 2006 10:46 pm Go to last post
  1. Please help! , help me complete this program. many thanks!

    Please help! , help me complete this program. many thanks! (defun c:test() ;;Add to improve this program (princ) ) (defun make-dcl (/ lst_str str file f) (setq lst_str '( "temp:dialog...

    Started by DuanJinHui‎, 20th Oct 2014 01:55 pm
    • Replies: 4
    • Views: 287
    21st Oct 2014 01:54 pm Go to last post
  2. Attributes from hatch to block.

    Hi I have 96 different hatches. I have a template block with only 2 lines of text: Area and Name. I want this block to appear in the middle(ish) of a hatch when i click on it, with "Name"...

    Started by aglaerum‎, 16th Oct 2014 03:39 pm
    attribute, automated, block, hatch
    • Replies: 3
    • Views: 325
    21st Oct 2014 09:44 am Go to last post
  3. Idea Pan in two MS viewports at the same time

    just wondering.... i do a lot of projections when doing elevations / sections and what i do is have the 2 viewports in model space in which the top vport shows the plan while the bottom shows the...

    Started by nod684‎, 28th Nov 2012 02:24 am
    2 Pages
    1 2
    • Replies: 13
    • Views: 1,273
    21st Oct 2014 07:59 am Go to last post
  4. Replaces the attribute value

    This lisp replaces the attribute value. For some unknown reason, when I apply the lisp in the attached block it inadvertently reduces the font size attribute. I have created other blocks for...

    Started by FabioDG‎, 20th Oct 2014 10:32 pm
    • Replies: 0
    • Views: 147
    20th Oct 2014 10:32 pm Go to last post
  5. Polyline dimensioning (using projections)

    Hi, I'm looking for lisp to dimension quickly a facade contours and openings in a plan view. The facade is represented by a pline with different segments. I have an idea how the lisp should work, but...

    Started by Grrr‎, 20th Oct 2014 11:02 am
    • Replies: 4
    • Views: 181
    20th Oct 2014 03:17 pm Go to last post
  6. Substitution with one more blocks

    Is it possible to select multiple blocks in the drawing, and instead set up one, choosing the insert. Desired block exists in the sketch. I will I enter their name.

    Started by jevrem1‎, 18th Oct 2014 10:28 am
    • Replies: 4
    • Views: 304
    20th Oct 2014 02:09 pm Go to last post
  7. Re-create page number lisp (find & replace)

    Hi members, I have a following query I have a dwg file with page number which are in format. 1/200 2/200 3/200 .... 200/200

    Started by nura235‎, 20th Oct 2014 05:11 am
    • Replies: 3
    • Views: 185
    20th Oct 2014 06:32 am Go to last post
  8. Automatic Block Break

    As posted over at theSwamp, I thought I'd share it with you nice folks too :) I've seen quite a few of these kind of programs knocking around, so I thought I'd give it a go at writing my own -...

    Started by Lee Mac‎, 23rd Nov 2010 12:43 am
    5 Pages
    1 2 3 ... 5
    • Replies: 42
    • Views: 7,346
    19th Oct 2014 05:57 pm Go to last post
  9. Data set

    I am looking for the following Lisp. 1 Select Block I make a set of data blocks in the DWG 2 Zomm first block in the set (this block is deleted from the set) 3 I will perform some action with...

    Started by jevrem1‎, 18th Oct 2014 03:58 am
    • Replies: 1
    • Views: 232
    18th Oct 2014 11:51 pm Go to last post
  10. Need help with write-line

    I say 30 variables that I want to write the values ​​without quotation marks. * only a comma between values (setq ax1 (strcat "Euro" "," "EU7X50" "," euro)) (setq ax2 (strcat "Hol2.5x25" ","...

    Started by plecs‎, 17th Oct 2014 07:58 pm
    • Replies: 3
    • Views: 274
    18th Oct 2014 11:47 pm Go to last post
  11. Point Manager

    Currently, the user can: Insert a Block at all Points from a File (txt/csv) Insert a Point at all Points from a File (txt/csv)

    Started by Lee Mac‎, 11th Dec 2009 07:44 pm
    14 Pages
    1 2 3 ... 14
    • Replies: 137
    • Views: 56,946
    18th Oct 2014 11:07 pm Go to last post
  12. Text Math

    Following this thread and this thread, I thought I'd write a complementary function to allow the user to operate on numbers inside text. Example: ...

    Started by Lee Mac‎, 9th Apr 2010 11:46 pm
    3 Pages
    1 2 3
    • Replies: 22
    • Views: 5,890
    17th Oct 2014 11:34 pm Go to last post
  13. Question Lisp Help: Search text in Viewport and update title block

    I'm looking for a lisp routine that is capable of searching the content of my view ports for the highest numeric attribute value with a specific tag. For example we have blocks set up with...

    Started by Darrylbster‎, 17th Oct 2014 03:42 pm
    • Replies: 0
    • Views: 163
    17th Oct 2014 03:42 pm Go to last post
  14. Question Combining 2 LISP routines?

    Hi! I have a LISP routine, GOCHNGPLT, that I wonder if it can be combined with another, GETPLOTDEVICES, so that GOCHNGPLT only runs if it has to? I don't understand either AutoLISP or VisualLISP...

    Started by Drafter_Joe‎, 13th Oct 2014 06:48 pm
    • Replies: 6
    • Views: 427
    17th Oct 2014 06:52 am Go to last post
  15. Unhappy Too many arguments error

    I'm trying to create a dimension when two toggles are picked in unison. Can someone tell me why this gives me a "too many arguments" error please? (if (and (= toggle1$ "1")( = toggle2$...

    Started by LosGirk‎, 16th Oct 2014 05:23 pm
    • Replies: 3
    • Views: 191
    16th Oct 2014 09:57 pm Go to last post
  16. Lisp for 3D dimensions

    Can someone help me create a LISP routine for dimensioning 3D piping? Here is what I am trying to accomplish, 1. set the OSNAP to "node" 2. set the UCS origin using 3 points 3. create a linear...

    Started by mrjagsr744‎, 16th Oct 2014 02:59 pm
    • Replies: 6
    • Views: 244
    16th Oct 2014 05:32 pm Go to last post
  17. Change LISP to effect Y or Z axis

    Morning Lee, on 1/13/2012 you created a LISP routine which help enormously. I'm wondering if i could trouble you to show me what needs to change in the code below to apply the LISP to the Y & Z axis...

    Started by chrishildebran‎, 14th Oct 2014 02:54 pm
    lee mac
    • Replies: 3
    • Views: 311
    16th Oct 2014 02:39 am Go to last post
  18. code to find current cad version

    Is there a code to find out current cad version or identification code ?

    Started by wimal‎, 15th Oct 2014 05:06 pm
    • Replies: 5
    • Views: 248
    16th Oct 2014 02:31 am Go to last post
  19. while loop not working, basic question?

    Hi, maybe I'm doing a stupid mistake and can't see it, but could you please tell me why this works: (defun c:test (/ thisdrawing mspace ptx pty ptz newptx mylist line_pt1 line_pt2) ...

    Started by cletero‎, 15th Oct 2014 04:31 pm
    • Replies: 4
    • Views: 225
    16th Oct 2014 12:06 am Go to last post
  20. 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: 24
    • Views: 15,897
    15th Oct 2014 09:26 pm Go to last post
  21. is it possible that a lisp file can read it's own location?

    and if so... how? Thanks in advance

    Started by svorgodne‎, 15th Oct 2014 03:46 pm
    • Replies: 1
    • Views: 213
    15th Oct 2014 06:44 pm Go to last post
  22. Solids intersection and something else...

    Hi, I would like to ask for some help, if there's a way of achieving the same results as the following LISP in a faster way, what I need is to obtain the Z coordinate of the tip of the cylindrical...

    Started by cletero‎, 12th Oct 2014 04:51 am
    • Replies: 9
    • Views: 475
    15th Oct 2014 04:14 pm Go to last post
  23. Unhappy Help!!Lisp!!Circle become polygon(polygon can't change at the same time)

    I tried to write a lisp for circle become polygon I choose many circle and type the dimension but the polygon can't change at the same time what is problem from my lisp? please help (defun...

    Started by Rain0923‎, 15th Oct 2014 10:10 am
    • Replies: 7
    • Views: 320
    15th Oct 2014 02:52 pm Go to last post
  24. Looking for dims with text override

    Hi I get an error from the people on the field about dimension I made that doesn’t make any sense. When I check it in the drawing I saw that I properly unintentionally gave it override value. I...

    Started by samifox‎, 14th Oct 2014 04:21 pm
    • Replies: 6
    • Views: 254
    15th Oct 2014 12:53 pm Go to last post
  25. How to get the original block name of a dynamic block

    Dear all, I have made a dynamic block, usually the particular block name will be changed to something like *U195. I am trying to make a lisp which needs the original name of the block, can...

    Started by LauKwokFai‎, 2nd Dec 2011 08:15 am
    3 Pages
    1 2 3
    • Replies: 22
    • Views: 2,606
    15th Oct 2014 10:39 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