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

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: 95,660
    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: 77,460
    18th Sep 2006 10:46 pm Go to last post
  1. Change scales of circle blocks selecting by window - without moving from center

    In this attached drawing grid bubbles are blocks.Insertion point is not in the center of the block. By selecting a window I need to change the scale of grid bubbles without moving from the center of...

    Started by wimal‎, Today 03:40 pm
    • Replies: 2
    • Views: 15
    Today 04:06 pm Go to last post
  2. Find nested blocks

    Anyone know a lisp or a way to find nested blocks in a drawing? I have drawings with both nested and simple blocks, and the nested ones are causing problems with an excel program. I need to...

    Started by JoeC‎, 3rd Jun 2010 02:14 pm
    2 Pages
    1 2
    • Replies: 19
    • Views: 22,081
    Today 10:08 am Go to last post
  3. copy field code to att

    I made below lisp code to have field code copied to text,dim etc. but not work on ATT thing anyone could help me with this how to make it happen that copy field code to ATT? :):):) (defun...

    Started by kevinfaj‎, 24th May 2018 05:49 am
    attribues, field code, lisp
    • Replies: 3
    • Views: 159
    Yesterday 05:42 pm Go to last post
  4. Get information from nested blocks

    Hello everyone, I have a block (working unit) with nested blocks (table, telephone, chair, computer...) each one, has attributes inside. For some reasons I don't want to explode the upper block...

    Started by svorgodne‎, 24th May 2018 03:37 pm
    • Replies: 1
    • Views: 148
    Yesterday 11:28 am Go to last post
  5. Circle inside the Block

    (setq xss2 (ssget"C"pt1 pt2 '((0 . "INSERT") ))) In my blocks there is a circle.How can I find out the radius of that

    Started by wimal‎, 14th May 2018 11:23 am
    3 Pages
    1 2 3
    • Replies: 20
    • Views: 609
    Yesterday 11:16 am Go to last post
  6. Length of texts

    Can we find out the length of texts by lisp.

    Started by wimal‎, 24th May 2018 10:21 am
    2 Pages
    1 2
    • Replies: 10
    • Views: 261
    Yesterday 06:35 am Go to last post
  7. SheetSetManager Publish to PDF

    Hello. Please advise me some way Is it possible to programmatically (lisp, .NET, arx) call "Publish to PDF" from SheetSet Manager

    Started by withoutdix‎, 21st May 2018 10:16 am
    • Replies: 2
    • Views: 175
    24th May 2018 07:59 pm Go to last post
  8. reduce vertices of a curved polyline

    Hello everyone I was wondering if there is a way or a lisp command that reduces vertices of curved polylines. When i say a "curved polyline" i mean a polyline that has two segments that are arcs...

    Started by xxfaxx‎, 22nd May 2018 03:39 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 427
    24th May 2018 01:37 pm Go to last post
  9. Moved: Explode polyface mesh to 3D face

    Started by Mirzali‎, 22nd May 2018 06:51 am
    • Replies: -
    • Views: -
    24th May 2018 12:43 pm Go to last post
  10. Importing Data Text to Autocad

    Hi, I have set of data in xls/csv format I have also attached the complete xls file for the reference. What I need is the lisp routine that will ask for the xls or csv file and import the...

    Started by lucky9‎, 22nd May 2018 09:35 am
    2 Pages
    1 2
    • Replies: 15
    • Views: 403
    24th May 2018 10:40 am Go to last post
  11. Identify decimal separator via autolisp

    Hello everyone, I think there should be a system variable or am autolisp program to identify what are is the decimal separator. This is important for me because I am writing a lisp routine that...

    Started by svorgodne‎, 22nd May 2018 09:58 am
    • Replies: 6
    • Views: 208
    23rd May 2018 03:35 pm Go to last post
  12. vl-sort list of dotted pairs

    How can I vl-sort a list of dotted pairs by the first element of each For simplicity my list is similar to: (("1" . 1) ("A" . 1) ("C" . 2) ("3" . 1) ("B" . 5) ("D" . 2) ("2" . 3) ("E" . 5)) I've...

    Started by Happy Hobbit‎, 30th Apr 2016 09:32 am
    3 Pages
    1 2 3
    • Replies: 26
    • Views: 5,684
    23rd May 2018 02:16 am Go to last post
  13. Reference an attribute of a block on itself.

    Hi everybody. Here goes my first post. I'm using Autocad map 3D 2013. I dont know how to create any lisps. Thank you for any help, any is really appreciated since that i know that is really taking...

    Started by mvr600‎, 21st May 2018 03:27 am
    2 Pages
    1 2
    • Replies: 18
    • Views: 389
    22nd May 2018 12:08 pm Go to last post
  14. Algorithm: 4 point boundary, the area is the smallest.

    Algorithm: 4 point boundary, the area is the smallest.

    Started by ssdd‎, 21st May 2018 05:31 pm
    • Replies: 2
    • Views: 162
    21st May 2018 06:52 pm Go to last post
  15. Smile Boundary Creation Lisp- a request

    Hi, I am doing a work that prompts me to use boundary creation often so I would like to request for Boundary creation LISP. The normal process (AutoCad 2007) when I typed in a command for boundary or...

    Started by onzki‎, 6th Jul 2010 03:13 am
    3 Pages
    1 2 3
    • Replies: 22
    • Views: 14,001
    21st May 2018 04:59 pm Go to last post
  16. How to check if color of object is set to rgb

    As topic says, how to check if object color is set to rgb. For example if I will manually set rgb color to 255,255,0 (yellow) - how to verify that this is true color and not aci?

    Started by ziele_o2k‎, 21st May 2018 09:07 am
    • Replies: 6
    • Views: 186
    21st May 2018 03:51 pm Go to last post
  17. Angry Updated TXT2MTXT not doing what I want

    Since AutoCAD recently brought the TXT2MTXT command from Express Tools into main AutoCAD, and updated/improved it in the process, I can't get it to consistently do what I want. 1. Converted MTEXT...

    Started by Rooster‎, 4th Jul 2017 10:21 am
    4 Pages
    1 2 3 ... 4
    • Replies: 33
    • Views: 5,779
    21st May 2018 08:33 am Go to last post
  18. Question offset table (intersection points)

    hi all, i have drawings that contains stations and waterlines as polyline or spline. (in att. dwg named as ST0, ST1...ST20, and WL0 to WL8) there may be other stations or waterlines such as...

    Started by bkartal16‎, 15th May 2018 10:08 am
    • Replies: 5
    • Views: 272
    21st May 2018 07:18 am Go to last post
  19. Rotating in segments

    Hi All Is it possible in Autolisp to insert a block (In this case it's a line) then pick a point (this point defines the centre of an imaginary circle) once the point is picked I would like to...

    Started by TunzaGibbo‎, 20th May 2018 02:12 pm
    • Replies: 5
    • Views: 239
    21st May 2018 01:31 am Go to last post
  20. Settings for an angle

    After I pick my dimension point I will pick a point at about say about 20 degrees. Then what I'm trying to say with the first "IF" statement is that if p2 is somewhere between 0 deg and 45 deg then...

    Started by TunzaGibbo‎, 18th May 2018 03:22 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 520
    20th May 2018 12:31 am Go to last post
  21. Quick question about block insertion point

    Hi, I'm playing with blocks data extraction. I just want to be sure. The best way to get block insertion point in WCS/UCS is: For ename: (trans (cdr (assoc 10 (entget _ent))) _ent 0) ;WCS...

    Started by ziele_o2k‎, 17th May 2018 11:04 pm
    • Replies: 3
    • Views: 241
    19th May 2018 02:10 am Go to last post
  22. draw a polyline based on coordinates

    I'm trying to cut a long routine into smaller ones. This time, I'm trying to (lik ethe title says) draw a polyline based on given coordinates. I'll have a list of 2D coordinates (take this for...

    Started by saim‎, 17th May 2018 07:33 pm
    • Replies: 7
    • Views: 251
    19th May 2018 02:02 am Go to last post
  23. I need help getting the shortest distance from a point to a slanted line #AsBuilt

    Good Morning, I am pretty new to AutoCad, and would appreciate if anyone out there could help. I understand how LISP files work, and have been making use of these LISP files to create as-built...

    Started by cricket‎, 17th May 2018 01:11 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 402
    18th May 2018 01:27 pm Go to last post
  24. Join lines on same layer

    Hello everyone. I'm trying to put together a lisp to be able to select a line, which will cause all the lines on that layer to be selected, then using the join command will make any lines connected...

    Started by MrCocopuffz‎, 16th May 2018 08:38 pm
    2 Pages
    1 2
    • Replies: 15
    • Views: 402
    18th May 2018 11:52 am Go to last post
  25. Unhappy Add previous objects to group

    Good day, What i know is dangerous. I have a basic lisp that draws a couple of lines and arc's. --------------- (command "LINE" IP P4 P5 P6 P16 P15 P14 "C") (command "LINE" P1 P8 "") (command...

    Started by trefan123‎, 16th May 2018 07:47 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 372
    18th May 2018 04:05 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