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

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: 96,184
    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,757
    18th Sep 2006 10:46 pm Go to last post
  1. Associate objects with LISP?

    Hello all, Is it possible to make certain objects associated with each other? For example: I pick two points. A line is drawn between those points. A block is placed on the end of the line....

    Started by Aftertouch‎, Yesterday 10:35 am
    • Replies: 1
    • Views: 107
    Yesterday 10:50 am Go to last post
  2. lisp to toggle a specific attribute visible/invisible

    Hi all, I have a lisp to switch the visibility off all the attributes off my drawing with a specific TAG (e.g. TAG1) . The lisp scan all the blocks containing this TAG. But i have to type on the...

    Started by Astro‎, 6th Aug 2009 01:16 pm
    3 Pages
    1 2 3
    • Replies: 23
    • Views: 13,271
    Yesterday 10:27 am Go to last post
  3. AutoCAD Increase the space between multiple lines

    Hello Everyone I have a electrical schematic drawing..but the lines are very close to each other. I want to increase the space between the lines..(stretch or something like that)... Is any possible...

    Started by acad1985‎, 14th Jun 2018 02:54 pm
    • Replies: 8
    • Views: 285
    Yesterday 07:43 am Go to last post
  4. double selection of pline

    hi everyone im attaching part of code that im using (some lines wrote by lee-mac) the problem in the code is that i need to choose the same pline twice (setq ent / setq se2) i try everything with...

    Started by mousho‎, 16th Jun 2018 11:13 am
    • Replies: 5
    • Views: 167
    Yesterday 03:28 am Go to last post
  5. "IF"

    (defun c:www (/ P1 P2 Dist1 Dist2 Ang1 hole1a hole1b) (savevartoold) (setq P1 (getpoint "\n Select a Point : ")) (setq P2 (getpoint P1 "\n Select a Point : ")) (setq...

    Started by TunzaGibbo‎, 14th Jun 2018 02:33 pm
    3 Pages
    1 2 3
    • Replies: 20
    • Views: 454
    Yesterday 12:11 am Go to last post
  6. Select all blocks crossing by specific polylines

    Dear all, I am looking for lisp to select all blocks crossing by specific polylines. I have scheme of ventilation ducting system drawn by polylines where are inserted flow dampers. My polylines...

    Started by Jozef13‎, 17th Jun 2018 05:13 pm
    • Replies: 2
    • Views: 116
    17th Jun 2018 10:07 pm Go to last post
  7. Idea Specify the name of the sheet from the index

    I have already written a program for regular indexing with coordinates. But if the index is made of irregular rectangles :unsure: I have an irregular index. I want to send a message based on the...

    Started by ehsantavassolian‎, 5th May 2018 08:05 am
    • Replies: 6
    • Views: 385
    17th Jun 2018 09:36 am Go to last post
  8. Smile LISP Sq.Ft

    Hi All, Could anyone help me please?... I have been looking for a LISP file that calculates sq.ft. of a closed polyline and generates a sq.ft. text inside the polyline. Unit of the file that I...

    Started by hhhhhhhanna3‎, 16th Jun 2018 07:37 pm
    area, lisp, sq.ft.
    • Replies: 1
    • Views: 120
    16th Jun 2018 08:01 pm Go to last post
  9. Error. Variable setting.

    Hello. In my program, I'm trying to assign a variable to a variable through a dialog: :edit_box{label=Text Height;key=get_txtheight;edit_width=5;value=2;} Then: (setq TextHeight (atoi...

    Started by dilan‎, 15th Jun 2018 03:44 am
    2 Pages
    1 2
    • Replies: 17
    • Views: 336
    16th Jun 2018 09:24 am Go to last post
  10. Get Excel cell data into variables

    Hello all, I found a lisp on a forum that can bring selected excel cells to Autocad. This comes in the direction of what I would like to have. But now the outcome comes with an alert box. Is it...

    Started by pmxcad‎, 4th Jun 2018 05:31 pm
    3 Pages
    1 2 3
    • Replies: 28
    • Views: 759
    15th Jun 2018 08:57 pm Go to last post
  11. AutoCAD Manual Entry between Lisp Routine.

    Hi Everyone. I have Lisp file to make double offset, offset distance are getting automatically as per lisp. but i want enter that distance manually and that entered value will be taken as offset...

    Started by gmmdinesh‎, 13th Jun 2018 09:14 am
    2 Pages
    1 2
    • Replies: 14
    • Views: 311
    14th Jun 2018 02:57 pm Go to last post
  12. Obtain ObjID from a Flip Parameter inside a block

    Hello everyone, I have the next problem: I have a dynamic "door block" which contains an attribute. (see attachment) I want thru autolisp to assign the flip value to the attribute. If I...

    Started by svorgodne‎, 14th Jun 2018 11:36 am
    • Replies: 3
    • Views: 165
    14th Jun 2018 02:46 pm Go to last post
  13. Autolisp to annotate 3d point z value

    Hei, Can enyone make autolisp to annotate 3d point z value! Best, MRe

    Started by Margusrebase‎, 13th Jun 2018 01:39 pm
    annotate z value, autolisp
    • Replies: 5
    • Views: 192
    14th Jun 2018 12:47 pm Go to last post
  14. Move selected text to polyline vertexes

    Hi, is it possible to make lisp routine which will move multiple selected texts to polyline vertexes. At first vertex i want text with smallest x coordinate and so on Sorry for my english. If its...

    Started by drdownload18‎, 10th Jun 2018 10:04 pm
    • Replies: 8
    • Views: 258
    14th Jun 2018 11:14 am Go to last post
  15. Distance between lines

    Need a lisp that would calculate distance between lines in a map and place it at the center of each lines. I need to select all the lines at once instead of selecting each line one by one. ...

    Started by lucky9‎, 11th Jun 2018 12:53 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 395
    14th Jun 2018 10:36 am Go to last post
  16. round up number in autolisp

    Hello people a beginner question lets say i do some calculations i want than round up the result of calcul to the next whole number

    Started by Qonfire‎, 10th Jul 2011 05:03 am
    3 Pages
    1 2 3
    • Replies: 23
    • Views: 18,922
    14th Jun 2018 02:49 am Go to last post
  17. Smile Hole Spacing

    Hi All I'm trying automate a process of placing holes along a rectangle. The drawing enclosed is as far as I can get with Lisp. I have established the 4 corners in my lisp file and are able to...

    Started by TunzaGibbo‎, 13th Jun 2018 02:43 pm
    • Replies: 2
    • Views: 203
    14th Jun 2018 02:15 am Go to last post
  18. scaling text and objects question

    so i have one of two things that i am thinking about here. 1. i know that AutoCAD has the scale (short key SC) command. selecting it, clicking a base point, typing the scale factor and bingo you...

    Started by dnovember99‎, 11th Jun 2018 05:01 pm
    • Replies: 8
    • Views: 309
    13th Jun 2018 01:29 pm Go to last post
  19. Need better multiline

    Hi all, I'm sure this is out there, if someone could point me in the right direction. We have acad 2002 and used to use 2000. In 2002 we have the mline command which is pretty simple. But in...

    Started by Vigilante‎, 29th Dec 2006 08:14 pm
    22 Pages
    1 2 3 ... 22
    • Replies: 212
    • Views: 162,915
    13th Jun 2018 04:16 am Go to last post
  20. Lisp for Layout to dwgs with binded xrefs

    Hello guys .... is there is any Lisp Routine for each layouts to separate dwg files ..... with bind all the xrefs thanx guyzz:roll::roll::roll:

    Started by Rashis‎, 12th Jun 2018 04:09 pm
    binded xrefs, layouts to dwg, lisp
    • Replies: 1
    • Views: 152
    12th Jun 2018 06:20 pm Go to last post
  21. Smile Dear guys please help me to get elevation in the attached lisp

    I tried many times to get elevation but i cannot make it please can anyone solve this?

    Started by samsudeenmanoos‎, 12th Jun 2018 07:44 am
    • Replies: 3
    • Views: 215
    12th Jun 2018 10:49 am Go to last post
  22. Question More efficient way to write specified code?

    (defun c:test ( / *error* pnt sel ucs ) (defun *error* ( msg ) (if ucs (apply 'command (append '("_.ucs" "3p") (mapcar '(lambda ( l ) (trans l 0 1)) ucs)))) (if (not (wcmatch...

    Started by BHAInc‎, 6th Jun 2018 12:00 am
    • Replies: 6
    • Views: 370
    12th Jun 2018 03:21 am Go to last post
  23. Ask user for input and use it as symbol

    Hi everyone. I hope this time I hava an easy one: I want to ask the user to put in the name of a selection set during my lisp and call it later to highlight the elements inside. Unfortunately...

    Started by Ament‎, 11th Jun 2018 12:06 pm
    • Replies: 6
    • Views: 197
    11th Jun 2018 01:07 pm Go to last post
  24. Won't work

    Would anyone know why this line won't work? Pt1 ang1 & dist1 are established command line error is looking for the first point Thank you (command "_.line" (polar Pt1 (+ ang1 (dtr 9o)) 13)...

    Started by TunzaGibbo‎, 10th Jun 2018 04:57 am
    • Replies: 5
    • Views: 285
    11th Jun 2018 04:27 am Go to last post
  25. Question simple area

    i'm looking for a simple area routine base on the dimension not the line. i want to be able to click on 2 cotation that i got from the dimlinear command and have the area "print" in a text format ...

    Started by bogeymen77‎, 8th Jun 2018 03:36 pm
    2 Pages
    1 2
    • Replies: 14
    • Views: 458
    10th Jun 2018 09:17 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