See the top rated post in this thread. Click here

Results 1 to 6 of 6

Thread: Slow LISP Routine 2019

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    100 Club
    Join Date
    Columbus, OH
    Login to Give a bone

    Default Slow LISP Routine 2019

    I created a program that finds all polylines and explodes them, then finds any non ortho line and changes the color to 2.
    At the moment the program is very slow in a large drawing (being 3000 objects) I'm hoping there is a way to speed the program up.
    The other thing I'm hoping to fix is in searching for non-straight lines, I only want lines the are not 0, 15 , 30, 45, 60, 90,...etc.. At the moment 45 degree lines change color. As I'm writing this post, I just thought maybe instead of just changing the color create a layer (0_NotStraight, Color 2) and move the non ortho line to said layer.

    The other problem I'm having is when I run the program it always says unknown command. I don't know why.

    Any help would be great and thank you in advance.
    Matt Hannan
    Attached Files Attached Files

Similar Threads

  1. Lisp program pausing for unknown reason AutoCad 2019
    By aaronashley1977783620 in forum AutoLISP
    Replies: 2
    Last Post: 2019-08-18, 12:56 PM
  2. Replies: 3
    Last Post: 2017-11-17, 06:06 PM
  3. Lisp routine in a Lisp routine
    By jayhay35365091 in forum AutoLISP
    Replies: 8
    Last Post: 2013-10-09, 02:30 PM
  4. Run Lisp Routine From Another Lisp Routine
    By mwilson in forum AutoLISP
    Replies: 7
    Last Post: 2013-07-25, 02:46 PM
  5. Slow.. slow..very slow..Gallery
    By engwaiphyo in forum AutoCAD Gallery
    Replies: 6
    Last Post: 2009-04-09, 07:32 PM

Tags for 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