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

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: 33,784
    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: 47,805
    18th Sep 2006 10:46 pm Go to last post
  1. How to Erase duplicate points in all the drawing

    I needed a code that insert a point at the start and at the end of each line found in the draw. so I did this: (defun POINTLINES ( / sel i ini e fin) ;SELECTION ALL THE LINES IN THE DRAWING...

    Started by Miller87‎, Today 09:16 pm
    • Replies: 0
    • Views: 1
    Today 09:16 pm Go to last post
  2. Lisp Routine to Control the UCS for saving drawings in world UCS.

    I am looking for a lisp routine that would. 1. Get the current 3-D UCS and save it for future. 2. Change to UCS world 3. Save the drawing to the default file with UCS world. 3. Go back to...

    Started by muck‎, 16th Apr 2015 12:24 pm
    • Replies: 4
    • Views: 204
    Today 08:36 pm Go to last post
  3. To subtract solid from planar surface

    Hello everyone. I need your help. Right now, I am required to subtract solid made by revolve command (SS2), from the planar surface (SS1). Please somebody help me to handle these. Thank you.

    Started by sonali‎, Today 02:33 pm
    • Replies: 4
    • Views: 74
    Today 07:03 pm Go to last post
  4. Question Can AutoCAD be controlled from another AutoCAD version?

    Hello. I'm stuck with AutoCAD R14 due to driver for our plotter. And trying come up with a more practical way of creating .plt files using 2k version (or even possibly newer) through R14 without...

    Started by vanowm‎, Yesterday 01:42 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 212
    Today 04:14 pm Go to last post
  5. Read and write ini file

    Hello, Searching for read and write to ini file… and really don’t know how to begin… Maybe someone can help me? :oops: What I have : 1 x Button1 for Save 1 x Button2 for Delete or Reset...

    Started by Christina_‎, 16th Apr 2015 11:38 pm
    • Replies: 3
    • Views: 154
    Today 03:44 pm Go to last post
  6. copy and paste on multiple points

    Hi, Back with a situation, I have lots of points / blocks on which I have to place a rectangle, I have a rectangle I pick the rectangle and the mid of one of the sides of the rectangle depending...

    Started by CADWORKER‎, 25th Jan 2014 05:34 pm
    • Replies: 5
    • Views: 635
    Today 02:03 pm Go to last post
  7. Determine drawing units and scale accordingly

    Hi all I'm wondering how to add a bit of code that will determine if the units of a metric drawing is metres or millimetres and then add the appropriate scale value. The code snippet I have is...

    Started by pixel8er‎, Today 02:24 am
    • Replies: 2
    • Views: 117
    Today 08:05 am Go to last post
  8. HELP: Any LISP or Scripts I can use to update text attribute value for many drawing?

    Hi. I have an assignment involving around 200 drawings. Any LISP or Scripts that I can use to update a text attribute value. They all have the same tag name & value to it. They are within a...

    Started by vernonlee‎, 15th Apr 2015 04:39 pm
    2 Pages
    1 2
    • Replies: 10
    • Views: 331
    Today 02:52 am Go to last post
  9. Area LAF not working in ACAD 2009 (64 bit)

    I have searched and searched for this, but can't find a solution. I am using the x64 version of AutoCad 2009. Running this in a 32 bit version worked fine. (This lisp will allow you to select...

    Started by Xsoldier2000‎, 26th Aug 2009 09:46 pm
    • Replies: 6
    • Views: 1,673
    Yesterday 08:01 pm Go to last post
  10. Prefix/Suffix - add to numbers or text

    I am looking for a lisp routine that will add text to the front or back of text or to an attributed block style text. Is there a good one out there? Also, if I find one, how do I copy the lisp file...

    Started by coniferous‎, 24th Nov 2011 09:17 pm
    2 Pages
    1 2
    • Replies: 14
    • Views: 7,370
    Yesterday 05:36 pm Go to last post
  11. Question Multiple hatches in multiple layers

    Hello When I export polygons from arcgis to autocad, I’m loosing all my hatches, from differents layers, I’ve only get closed polylines ! Question : is it possible to make a lisp to create...

    Started by romrom‎, Yesterday 02:10 pm
    • Replies: 0
    • Views: 85
    Yesterday 02:10 pm Go to last post
  12. List spline, ellipse, arc...

    Hello Guys... can some one help me to build the following requirements in the drawing.. this is basically for qc purpose....I am beginner in this field Should list if there are any splines,...

    Started by 2andygs‎, 16th Apr 2015 10:20 pm
    • Replies: 4
    • Views: 110
    Yesterday 01:56 pm Go to last post
  13. Moved: LISP request

    Hello Guys... can some one help me to build the following requirements in the drawing.. this is basically for qc purpose....I am beginner in this field Should list if there are any splines,...

    Started by 2andygs‎, Yesterday 01:56 pm
    • Replies: -
    • Views: -
    Yesterday 01:01 pm Go to last post
  14. Write integer more than 32767 using lisp

    How can i write a text integer more than 32767 using lisp. when i type 123456 the message is "Requires an integer between -32768 and 32767"

    Started by subodh_gis‎, 15th Apr 2015 09:54 am
    autolisp
    • Replies: 9
    • Views: 319
    Yesterday 11:28 am Go to last post
  15. SSGET - syntax for select entities in a region with a certain layer

    Hello everyone, I want to select only polylines in the layer "VP" in a region. Is it possibile using ssget? I've tried with: (ssget "_C" pnt_A pnt_B '((0 . "LWPOLYLINE") (-4 . "=") (8 ....

    Started by MastroLube‎, 16th Apr 2015 02:17 pm
    • Replies: 5
    • Views: 187
    Yesterday 11:22 am Go to last post
  16. Joining two lisp

    Sir i have attached a sample drawing and two lisp file how to perform that job pls help me

    Started by anindya‎, Yesterday 06:49 am
    • Replies: 0
    • Views: 119
    Yesterday 06:49 am Go to last post
  17. Copy attributes data block to block different layouts!

    Hi After several years in autocad ive never really got into lisps all that much . However I realise I should probably make the first steps into that direction. As such I seek assistance !! The...

    Started by Greenuser‎, Yesterday 05:33 am
    • Replies: 1
    • Views: 108
    Yesterday 06:07 am Go to last post
  18. Create and Draw Road Profile with Excel and Lisp

    Hi .. this excel+lisp gives us the opportunity to draw road profile for bothe ground levels and design levels in two steps -- one for ground " natural "" and 2nd for design levels. * either to...

    Started by Salama‎, 28th May 2012 09:48 pm
    3 Pages
    1 2 3
    • Replies: 20
    • Views: 12,324
    Yesterday 04:35 am Go to last post
  19. Move to new layer with suffix

    All, I would like to know if anyone knows of a lisp that will do this. 1. Copy the layer of a selected object (4"-HG-BC38-9100) 2. Add a suffix to the end of that layer (-UG) 3. Move only the...

    Started by Chmcdan211‎, 16th Apr 2015 11:12 pm
    • Replies: 1
    • Views: 104
    Yesterday 03:47 am Go to last post
  20. How can I calculate area by lisp?

    1. calculate total red pline area 2. total red pline area / black pline area How can I calculate area by lisp?

    Started by Rain0923‎, 31st Mar 2015 11:00 am
    3 Pages
    1 2 3
    • Replies: 26
    • Views: 1,007
    16th Apr 2015 09:15 pm Go to last post
  21. Run a lisp once (add support path)

    Hello everyone! I've developed a little program for autocad and compiled an installer with innosetup. I need to add a custom support path for make it works but i don't know how to do it in the...

    Started by MastroLube‎, 15th Apr 2015 09:42 am
    • Replies: 3
    • Views: 213
    16th Apr 2015 04:05 am Go to last post
  22. Access and edit scale properties of the Scale list

    G'day! I have a large number of drawings that are using the following scale: Name: Metres 1:500 ..... Scale: 1=0.5 But some of the xrefs use the following Name: Metres 1:500 ..... Scale: 2=1 ...

    Started by jnky‎, 16th Apr 2015 12:26 am
    • Replies: 2
    • Views: 143
    16th Apr 2015 04:03 am Go to last post
  23. Dimension along a curvy polyline

    Hi Is there and routines that would put a dimension along a curvy line? I dont need the actual dimension on, just the lines following the curve with the arrows and the perp lines coming out at...

    Started by bigmaz‎, 17th May 2012 11:58 am
    2 Pages
    1 2
    • Replies: 12
    • Views: 3,666
    15th Apr 2015 10:49 pm Go to last post
  24. define an attribute with LockPosition on through dxf code '(280 . 1)

    Hello! I've tried to define an attribute with LockPosition on through dxf code and does not work. (entMake '((0 . "BLOCK") (2 . "PunctT") (70 . 2) (8 . "0") (10 0 0 0) (6 . "ByLayer") (62 ....

    Started by Costinbos77‎, 12th Sep 2014 11:16 am
    • Replies: 9
    • Views: 1,137
    15th Apr 2015 08:12 pm Go to last post
  25. image: pixel to mm

    Hello there! I try to write a lisp to deal with images I attach to a drawing. The program clips them with a polygonal contour. Next it rotates the images and it should move them to match –like a...

    Started by fuccaro‎, 13th Apr 2015 07:15 am
    • Replies: 5
    • Views: 335
    15th Apr 2015 10:41 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