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

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: 37,867
    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: 49,464
    18th Sep 2006 10:46 pm Go to last post
  1. Question Need help detecting error in LISP

    Hi there, I am a bit lost with my current LISP project. With this program, I determine the angle of a line and compare this to a list. If this angle is present in this list, then it should...

    Started by ottooo‎, 31st Jul 2015 02:33 pm
    • Replies: 6
    • Views: 159
    Today 01:59 am Go to last post
  2. the best way to insert block

    hello what is the best way to insert block with attribute already exist in search path with option to pick rotation i use this one but cant put bolck to layer (command "insert" "blkname.dwg"...

    Started by motee-z‎, Yesterday 11:12 am
    • Replies: 6
    • Views: 137
    Today 01:48 am Go to last post
  3. HELP: Change only the colour of numbers in an mtext

    I have a bunch of mtext that has a mixture of letters & numbers. I need to change the colours of only the numbers example: "ROOM 15" >>>>> "ROOM 15" Currently i have to double click...

    Started by vernonlee‎, 29th May 2015 06:35 am
    2 Pages
    1 2
    • Replies: 18
    • Views: 1,341
    31st Jul 2015 11:23 am Go to last post
  4. LISP Routine Help

    We design overhead power lines and part of our daily routine is to draw miles and miles of pole blocks connected by separate polylines. We currently run a LISP routine to automatically place the pole...

    Started by tjjackson‎, 28th Jul 2015 04:10 pm
    3 Pages
    1 2 3
    • Replies: 24
    • Views: 680
    31st Jul 2015 04:04 am Go to last post
  5. Multi-Leader Shrinkwrap

    Hi all We have drawings containing Multi-Leaders that have their bounding boxes way too big! Too bigger than what the text is contained in the bounding box. We do have a lisp that can re-size...

    Started by Shoey‎, 8th Jan 2013 06:22 pm
    2 Pages
    1 2
    • Replies: 12
    • Views: 1,789
    31st Jul 2015 03:32 am Go to last post
  6. Lock all layers except current layer

    Hello, I searched for an autolisp that lock all layers except the current layer that I'm using but I can't find one. Right now I have to lock all layers then unlock the layer by click on an object...

    Started by Tunnelrat‎, 30th Jul 2015 03:28 pm
    • Replies: 8
    • Views: 177
    30th Jul 2015 06:22 pm Go to last post
  7. Need help spotting error in short lisp

    Hey all, I am new to writing lisps and wondered if someone could help me spot the error in this code. All I want to do is have the user enter in two primary colors and then have the lisp reveal...

    Started by MechanicalAnimal‎, 28th Jul 2015 09:26 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 361
    30th Jul 2015 05:47 pm Go to last post
  8. HELP: text length that changes when polyline changes

    Now sure how to explain so here goes. I am working on an existing drawings that came polylines that has a length attached to it. The amazing thing is that when we stretch the line longer or...

    Started by vernonlee‎, 22nd Jul 2015 01:33 am
    2 Pages
    1 2
    • Replies: 19
    • Views: 663
    30th Jul 2015 12:17 pm Go to last post
  9. cog of a set of scattered lines

    Dear All Do you have any lisp program for finding cog of a set of scattered lines? cog to marked on drawing in circle Nithin

    Started by nithink55‎, 29th Jul 2015 11:05 am
    2 Pages
    1 2
    • Replies: 15
    • Views: 379
    29th Jul 2015 06:25 pm Go to last post
  10. Star substitute , help .

    Hello friends. (setq elist (subst (cons 1 xxx (assoc 1 elist) elist)) (entmod elist) I know DXF code 1 is the only ,so can use "subst" function substitute. But some times ,DXF code is...

    Started by DuanJinHui‎, 29th Jul 2015 12:44 pm
    • Replies: 5
    • Views: 231
    29th Jul 2015 05:33 pm Go to last post
  11. Using Polyline Diet Lisp Routine

    I have a file from a local GIS Dept and I am trying to reduce the number of polylines in the file. Have not used a Lisp routine previously but found one that I thought would be beneficial, not only...

    Started by Dawg221‎, 28th Jul 2015 11:20 pm
    • Replies: 7
    • Views: 243
    29th Jul 2015 03:11 pm Go to last post
  12. Multiple Selection Sets To One Line Lisp

    Does anyone know of a lisp in which I can make multiple selection sets line up with a line? For example you could select a number of groups and assign corresponding points with the groups the...

    Started by mbrandt5‎, 28th Jul 2015 07:18 pm
    • Replies: 3
    • Views: 203
    29th Jul 2015 01:16 pm Go to last post
  13. XRefsToLayers.LSP [Move XRefs to corresponding layers]

    Inspired by this thread. Will move all XRefs to layers, based on name and prefix of "0-XREF_" (can be changed to whatever). Prompts user with option to lock XRef layers. When completed,...

    Started by alanjt‎, 27th Apr 2010 08:59 am
    2 Pages
    1 2
    • Replies: 11
    • Views: 4,783
    29th Jul 2015 12:30 pm Go to last post
  14. Wink paper space to model space

    Hi, My standard autocad submissions are set in modelspace and presented in Paperspace... however in some cases i need to give our CAD drawings in modelspace. is there any routine which copies the...

    Started by Hsanon‎, 21st Jul 2015 04:08 pm
    • Replies: 9
    • Views: 493
    29th Jul 2015 09:06 am Go to last post
  15. Star Sort individual rev blocks by date and map attributes to new title block

    Hey gang, I have legacy drawings where the revision information lies in separate blocks, and I want to use a lisp to write the attribute values of those blocks to new title blocks with their own...

    Started by Da Ballz‎, 27th Jul 2015 05:54 am
    2 Pages
    1 2
    • Replies: 14
    • Views: 417
    29th Jul 2015 06:42 am Go to last post
  16. Unhappy Stretching multiple labels or cross selection window for hot grips

    Hi there, I would like to know if anyone has created a lisp or a vb.net for the following: I have about 5000 annotative labels that need to be stretch/dragged out to a desired position. Right now...

    Started by Vcad‎, 28th Jul 2015 07:08 pm
    • Replies: 0
    • Views: 130
    28th Jul 2015 07:08 pm Go to last post
  17. HELP: LISP to Change linetype scale for enity in blocks & nested blocks

    Currently using a LISP to change all line/entity to linetype scale 5. But it does not work more then 1 or 2 level nested deep. Any can help design one that can change all linetype scale in 1...

    Started by vernonlee‎, 10th Mar 2015 01:19 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 732
    28th Jul 2015 05:53 pm Go to last post
  18. Draw an isosceles trapezoid

    Hi guys Have a routine like this? Thanks for any help! Enter the value of the " L " and " H" , pick a basic point , Dynamic specified direction. Draw an isosceles trapezoid. Dynamic...

    Started by andy_lee‎, 27th Aug 2014 06:07 am
    2 Pages
    1 2
    • Replies: 19
    • Views: 1,764
    28th Jul 2015 03:00 pm Go to last post
  19. get intersection points and draw rectangles

    hi all, I am using autocad 2010 and new to autolisp and I hope you guys could give me a hand here. If i have a series of horizontal lines and one vertical line (like the 1st photo attached...

    Started by jasonle215‎, 28th Jul 2015 10:55 am
    • Replies: 1
    • Views: 168
    28th Jul 2015 12:11 pm Go to last post
  20. Delete all annotation scales but current

    Hello, I'd googled the name of this thread and found something (I don't know if it is correct to post link here) but it not works (or I didn't manage do run it) and want to ask - is it posible or is...

    Started by sevdo2000‎, 6th Jul 2012 06:19 am
    2 Pages
    1 2
    • Replies: 15
    • Views: 9,528
    28th Jul 2015 12:09 pm Go to last post
  21. Attribute Extraction Program?

    Is there an attribute extraction program that will let you extract attributes from multiple Autocad 2004 dwgs, and put them into Excel spreadsheets. I want to extract data from the parts lists of...

    Started by tkwon‎, 16th Nov 2004 04:59 pm
    5 Pages
    1 2 3 ... 5
    • Replies: 45
    • Views: 23,063
    27th Jul 2015 06:07 pm Go to last post
  22. Dividing area to a number of sub areas

    Dear all, I'm seeking help in this one also. I'm looking for a routine that will divide an area to selected sub areas and drawing the boundaries of new areas inside the parent area. thanks in...

    Started by Begde‎, 10th Feb 2013 06:36 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 3,010
    27th Jul 2015 06:00 pm Go to last post
  23. AutoLisp routine that finds correct Attributes to replace by matching values

    I'm new to AutoLisp, so any help is greatly appreciated. I have hundreds of drawings with two different title blocks: A) Drawing_Sheet_22X34 B) Drawing_Sheet_22X34-H The attributes (tags,...

    Started by Da Ballz‎, 23rd Jul 2015 03:15 am
    3 Pages
    1 2 3
    • Replies: 26
    • Views: 863
    27th Jul 2015 05:35 am Go to last post
  24. Electrical Wiring

    Revise Thread sorry for inconvenience What do I really want is to combined Pline and Fillet command after calling the lsp command it will first ask for the radius of the fillet. pls see...

    Started by Cheezee‎, 23rd Jul 2015 10:39 am
    2 Pages
    1 2
    • Replies: 14
    • Views: 683
    27th Jul 2015 04:16 am Go to last post
  25. Help lisp Straighten out route...

    I design a road passing through a field with sharp corners. Now, I want to straighten out route but I do not know how. I used to do manually as follows: I draw the rectangle and then cut the...

    Started by minhphuong_humg‎, 22nd Jul 2015 05:09 am
    2 Pages
    1 2
    • Replies: 19
    • Views: 796
    27th Jul 2015 04:15 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