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

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: 88,547
    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: 73,838
    18th Sep 2006 10:46 pm Go to last post
  1. How to put hatch in multiple polygons..

    hai all i am a bigner in cad my boss had given me a dwg which contains 1000 s of polygons (closed polylines)and want me to hatch all indipendently pls help any lisp available? if so pls...

    Started by merlin_m007‎, 20th Feb 2009 03:44 pm
    • Replies: 6
    • Views: 6,618
    Today 07:08 am Go to last post
  2. Move block to block attribute insertionpoint

    Hello all, I need help with the following. what I want to achieve is that I have a block diagram drawing with 2 panels and some separate components. I run the lisp and then select all component...

    Started by pmxcad‎, Yesterday 10:30 pm
    • Replies: 1
    • Views: 67
    Today 02:54 am Go to last post
  3. Legends Lisp

    Good afternoon, Just wondering if anyone has a LIPS or similar that can make a legend?? For example to scroll through all the layers one by one, draw a line (anywhere, they can be moved later)...

    Started by Steven P‎, 24th Oct 2017 02:08 pm
    2 Pages
    1 2
    • Replies: 10
    • Views: 692
    Today 02:42 am Go to last post
  4. Edit to existing LISP routine

    Hi all, Really need a hand here. I have slightly edited the program from Lee Mac "areas2field" and added the line (setq format "%lu2%pr2%ps%ct8") ;; Field Formatting This allows me to...

    Started by Spirax‎, 16th Jan 2018 02:35 am
    • Replies: 9
    • Views: 240
    Today 01:02 am Go to last post
  5. Angry WCS Origin

    I've searched high and low but came up empty... Simple routine does the following: (vl-cmdf "ucs" "w");switches to WCS-good (vl-cmdf "copy" ent "" "_non" bse "_non" "*0,0");copies ent...

    Started by eimimitu‎, Yesterday 07:39 pm
    wcs trans dxf origin zero
    • Replies: 4
    • Views: 108
    Yesterday 11:15 pm Go to last post
  6. What's wrong with this LISP routine

    I pieced together this routine which draws a line from its midpoint.. I added error handler and echo off... The LISP executes fine but it gives me an "; error: AutoCAD variable setting rejected:...

    Started by eimimitu‎, 15th Dec 2017 11:49 pm
    2 Pages
    1 2
    • Replies: 15
    • Views: 810
    Yesterday 10:43 pm Go to last post
  7. How to get WCS coordinates of an entity within a second level nested block?

    Hi. My problem is following: I have an INSERT entity with nameDXF "X". I have an nested INSERT (inside "X") with nameDXF "F". Finally, I have a sphere that makes up the INSERT Block...

    Started by gerardo2m‎, Yesterday 01:32 am
    lisp trans function
    • Replies: 1
    • Views: 97
    Yesterday 10:39 pm Go to last post
  8. Smile Automatically filling out the Drawing Property from Titleblock Information

    Hi guys, I'm not sure if you have done this before. I tried to search, but it does not appear that anyone's run into this trouble before. I am trying to use the titleblock information with tags...

    Started by kam1967‎, 24th Jan 2011 10:07 pm
    3 Pages
    1 2 3
    • Replies: 24
    • Views: 11,091
    Yesterday 07:28 pm Go to last post
  9. Get admin access with autoLisp

    Hi, I have a Lisp that paste a file in a folder that require admin access, but is not all users that have a admin access account. So, there is some way to get the admin access with Lisp? Like,...

    Started by weiglas‎, 17th Jan 2018 05:58 pm
    admin access, autolisp, lisp
    • Replies: 3
    • Views: 167
    Yesterday 06:53 pm Go to last post
  10. Polyline on chainage with block

    please help me Require on polyline all circle point chainage along pipeline with block i given by marko_ribar code code its extremely good only one change arrow & Text use this i...

    Started by bittu‎, Yesterday 07:25 am
    • Replies: 1
    • Views: 110
    Yesterday 01:30 pm Go to last post
  11. Change font type of attribute

    Please I need a code to change the font type of attributes.Can some one help me.

    Started by wimal‎, 17th Jan 2018 06:12 pm
    • Replies: 3
    • Views: 156
    Yesterday 01:06 pm Go to last post
  12. Overkill with draworder, just lines and arc's

    Hello all, I am looking for some 'simple' code, that deletes duplicate lines and arc, based on the draworder. I need the program to always keep the 'upper' line and delete the duplicate. The...

    Started by Aftertouch‎, Yesterday 12:13 pm
    • Replies: 0
    • Views: 63
    Yesterday 12:13 pm Go to last post
  13. error: ActiveX Server returned the error: unknown name: Explode

    error: ActiveX Server returned the error: unknown name: Explode , Why ? autocad 2010 , windows xp ;|==================================================-=========================== * ...

    Started by DuanJinHui‎, 30th Apr 2015 03:26 am
    2 Pages
    1 2
    • Replies: 11
    • Views: 5,513
    17th Jan 2018 01:06 pm Go to last post
  14. Batch Script

    Good afternoon, I hope someone can help. I am trying to make a simple LISP routine that creates a script file, opens, and does stuff to all the files in a folder, then closes and saves each file...

    Started by Steven P‎, 15th Jan 2018 04:55 pm
    • Replies: 9
    • Views: 378
    16th Jan 2018 09:42 pm Go to last post
  15. Perpendicular lines from points

    Hello Engineers I wish to get a help from you regarding taking measurements in between two lines. my requirements are Generate points at 1m generate perpendicular lines from its base location ...

    Started by erbalaji‎, 15th Jan 2018 05:30 am
    • Replies: 5
    • Views: 255
    16th Jan 2018 09:13 am Go to last post
  16. Dimension placement and block insertion

    Hey, I work with a lot of 2-D drawings that require a bunch of dimensioning and symbol placement. The pictures attached below show what I’m being sent and where the final product ends up. I’m...

    Started by aschiffer‎, 18th Dec 2017 08:32 pm
    • Replies: 4
    • Views: 459
    15th Jan 2018 11:08 pm Go to last post
  17. Question Extract XYZ values from multiple blocks

    I'm looking for a way to extract the X, Y and Z values from a set of selected blocks (there may be several types of blocks) and then have it export to a txt file. I'm not sure if it's possible but...

    Started by justindm‎, 21st Dec 2010 05:16 pm
    4 Pages
    1 2 3 ... 4
    • Replies: 39
    • Views: 15,897
    15th Jan 2018 10:12 pm Go to last post
  18. Reset one instance of a block and it's attributes to the defaults of that block

    Hello, Using the sync attributes (attsync), resets all the attributes properties of all occurrences of that block in the drawing to the defaults. Anyone has a lisp that will reset all properties of...

    Started by mk4176‎, 14th Jan 2018 02:57 pm
    2 Pages
    1 2
    block attributes
    • Replies: 13
    • Views: 315
    15th Jan 2018 07:27 pm Go to last post
  19. Quick mirror help

    SO i was browsing around lee mac's website and came across his http://www.lee-mac.com/quickmirror.html lisp. not sure if this is something that could be done or not (and not saying that lee mac's...

    Started by dnovember99‎, 12th Jan 2018 03:12 am
    2 Pages
    1 2
    • Replies: 15
    • Views: 461
    15th Jan 2018 02:52 pm Go to last post
  20. lisp loader

    i have been racking my brain trying to figure this out. i am sure that this is something that is very simple but being so new to the lisp world i am struggling. i am looking to have one master...

    Started by dnovember99‎, 9th Jan 2018 04:59 pm
    2 Pages
    1 2
    • Replies: 18
    • Views: 461
    15th Jan 2018 12:47 pm Go to last post
  21. Arrow Modifying Plant Schedule Lisp. Please help.

    Can anyone modify the following lisp for me? I found it on cadalyst and its almost what I need, but I would like a little more functionality. Here's how it works: 1) I have a block, that I...

    Started by mexmr10‎, 1st Feb 2010 12:39 am
    4 Pages
    1 2 3 ... 4
    • Replies: 37
    • Views: 7,515
    15th Jan 2018 10:01 am Go to last post
  22. Lisp to combine 2 separate blocks into 1 new block based of insert point position

    Hi, im looking for a lisp that finds any blocks that are in the same position based of insertion point and "combines these two blocks to create a new one with the names attached to them. for...

    Started by mattdalgety‎, 15th Jan 2018 05:51 am
    • Replies: 0
    • Views: 99
    15th Jan 2018 05:51 am Go to last post
  23. Aalto Lisp

    I wrote a Lisp routine for an M. Sc. 20 years ago but can't get it work, could someone help, it's an experiment based on the work of the architect Alvar Aalto (defun dtr (a) (* pi (/ a 180.0))...

    Started by johncav‎, 31st Oct 2016 09:56 am
    • Replies: 9
    • Views: 2,976
    14th Jan 2018 09:12 pm Go to last post
  24. HappyBirthday.lsp ==>Fun vs. prank

    Hi together, I would like to play a trick on my draftsman colleagues and I needed some help. ...feel free to improve my poor coding... (defun c:HappyBirthday (/ UserName User1 B-Day_Date...

    Started by Bluebird1973‎, 8th Jan 2018 09:23 pm
    3 Pages
    1 2 3
    • Replies: 27
    • Views: 1,008
    14th Jan 2018 11:10 am Go to last post
  25. Help pls with "Automatically Label Attributes"

    I want any explain how to use "Automatically Label Attributes" LiSP, i need steps how to add serial number on pipes this LISP from LEE MAC.

    Started by Ahmed Elsaabbagh‎, 17th May 2017 09:00 am
    3 Pages
    1 2 3
    • Replies: 20
    • Views: 1,734
    14th Jan 2018 12:24 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