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

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,935
    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,502
    18th Sep 2006 10:46 pm Go to last post
  1. how can i tell if 3 points form a corner?

    hi how can i tell if 3 points form a corner? what about giving it some tolerance? lets say its still a corner if it didn't exceed 80-100 degrees range? Thanks Shay

    Started by samifox‎, Yesterday 09:08 pm
    • Replies: 4
    • Views: 114
    Today 04:37 am Go to last post
  2. find linear distances between a selection set of vertical lines

    hello i want to get linear distances between lines as in image on special layer and if distance exceed edge lines rotate it to vertical direction as in image any help will be appreciated

    Started by motee-z‎, Yesterday 10:02 pm
    • Replies: 4
    • Views: 62
    Yesterday 11:33 pm Go to last post
  3. Reactor Issue

    Hi, I am using a modiffied version of the autosave reactor posted by Lee Mac here The reactor is invoked via the acaddoc.lsp file. Everything is working fine with one exception. Apparently...

    Started by PDuMont‎, Yesterday 11:51 am
    2 Pages
    1 2
    • Replies: 13
    • Views: 171
    Yesterday 07:53 pm Go to last post
  4. Block Attributes

    Is there a way of editing an attribute of a block so it will add a constant number (say 5) to all values in the block across the drawing. e.g. Assume 'A 125' and 'A 126' are blocks, can I edit the...

    Started by Ark Angel‎, Yesterday 12:46 pm
    2 Pages
    1 2
    • Replies: 16
    • Views: 156
    Yesterday 02:51 pm Go to last post
  5. Moved: HELP: Stretching and Shrinking problem

    Started by jasonle215‎, 3rd Aug 2015 08:46 am
    • Replies: -
    • Views: -
    Yesterday 12:32 pm Go to last post
  6. Moved: Macro problem with area

    Started by patch131‎, 26th May 2009 01:38 pm
    • Replies: -
    • Views: -
    Yesterday 11:59 am Go to last post
  7. 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: 3
    • Views: 295
    Yesterday 04:14 am Go to last post
  8. create blocks and place them evenly.

    Hi guys, I'm using autocad 2010 and I'm new to autolisp. I hope you guys could help me with this problem (image below) I'm still learning autolisp and I dont know how to create blocks or...

    Started by jasonle215‎, 2nd Aug 2015 10:41 am
    • Replies: 5
    • Views: 244
    Yesterday 04:10 am Go to last post
  9. LISP Editing Help

    Hi All, I'm hoping to get some help in editing a LISP routine please. I have a LISP created by Charles Darling http://www.gilesdarling.me.uk/lisproutines.shtml which i'm hoping to get some...

    Started by rikiki‎, 3rd Aug 2015 04:14 pm
    • Replies: 3
    • Views: 119
    Yesterday 04:08 am Go to last post
  10. Inserting a block issue

    I know this is something easy but can't figure it out. When I use my lisp in AutoCAD 2011 at home and it inserts the block it lets me change the value(text) to what I want. That same lisp when I...

    Started by j_spawn_h‎, 3rd Aug 2015 08:53 pm
    • Replies: 1
    • Views: 95
    3rd Aug 2015 08:58 pm Go to last post
  11. 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: 19
    • Views: 1,442
    3rd Aug 2015 01:22 am Go to last post
  12. 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‎, 1st Aug 2015 11:12 am
    • Replies: 9
    • Views: 304
    2nd Aug 2015 02:42 pm Go to last post
  13. Use Area in an equation for block, lisp, or macro

    I use the are of different floors of a building to determine accessory quantities for concrete placing. I calculate using: ((sqrt(area))-4')/4'*sqrt(area). this lets me know linear feet of material...

    Started by Scott B‎, 31st Jul 2015 04:28 pm
    • Replies: 9
    • Views: 356
    2nd Aug 2015 02:07 am Go to last post
  14. 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: 248
    2nd Aug 2015 01:59 am Go to last post
  15. 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: 774
    31st Jul 2015 04:04 am Go to last post
  16. 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,852
    31st Jul 2015 03:32 am Go to last post
  17. 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: 217
    30th Jul 2015 06:22 pm Go to last post
  18. 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: 402
    30th Jul 2015 05:47 pm Go to last post
  19. 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: 741
    30th Jul 2015 12:17 pm Go to last post
  20. 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: 437
    29th Jul 2015 06:25 pm Go to last post
  21. 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: 260
    29th Jul 2015 05:33 pm Go to last post
  22. 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: 288
    29th Jul 2015 03:11 pm Go to last post
  23. 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: 231
    29th Jul 2015 01:16 pm Go to last post
  24. 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,829
    29th Jul 2015 12:30 pm Go to last post
  25. 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: 532
    29th Jul 2015 09:06 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