Improving performance when picking objects

Discussion in 'AutoCAD' started by Charliep, Apr 7, 2004.

  1. Charliep

    Charliep Guest

    I found an AutoDesk tip on drawing performance, named "Improving performance when picking objects or regenerating drawing. http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=2896135&linkID=2475323
    It related this problem to drawing outside of the drawing limits. I was curious about seeing if this may help me when my A2K4 is slow while picking objects.
    What I tried to do is set my system variable of Limmax to some thing larger than what most of my drawings would need. I opened my acad.lsp file and entered below the rest of my system variables, that work, the following,
    (setvar "limmax" "1088',704'"), I then restarted AutoCAD, however when I open existing drawings, hoping that it will update them, they show something like, 1'-5",0'-11". Is not the acad.lsp supposed to over ride the files variable setting? Am I doing something wrong? Does someone have a LISP or routine that will cause all new or existing drawings to update to a predefined limmax variable?

    By the way I have a new
    Dell
    Pentium 4, 2.8 Gig hard drive
    128 mg video
    1 gig Ram

    Thanks for any assistance!!!!!
    Have a good day all.
     
    Charliep, Apr 7, 2004
    #1
  2. Charliep

    BillZ Guest

    Try
    (setvar "limmax" (list 1088' 704'))

    Limmax won't accept a string.

    Bill
     
    BillZ, Apr 7, 2004
    #2
  3. Charliep

    Charliep Guest

    Thank you very much!!
     
    Charliep, Apr 7, 2004
    #3
  4. Charliep

    Charliep Guest

    BillZ
    I copied and pasted your routine, the whole thing, (setvar "limmax" (list 1088' 704'))
    but when I restarted AutoCAD and opened up an existing drawing and typed in limmax, it did not show 1088' 704'.
    One drawing showed the following:
    Enter new value for LIMMAX <1'-5",0'-11">:
    Did I do some thing wrong again.
    Thanks for your help!!
     
    Charliep, Apr 7, 2004
    #4
  5. Charliep

    BillZ Guest

    In R2004 the acadlspasdoc = 0 means the acad.lsp gets loaded only on the first drawing, which is okay.
    What you probably want to do is put your routine that changes the limits into you acaddoc.lsp (make one if you need to) that way your routine will load on every drawing.

    Bill
     
    BillZ, Apr 7, 2004
    #5
  6. Charliep

    Charliep Guest

    Thank you for your reply, but my acadlspasdoc is set to 1 which means acad.lsp is loaded into every drawing. Since that is the case would it make a difference if I have a acaddoc.lsp?

    THANKS AGAIN FOR YOUR TIME!!
     
    Charliep, Apr 7, 2004
    #6
  7. Charliep

    BillZ Guest

    Try it.

    Bill
     
    BillZ, Apr 7, 2004
    #7
  8. Charliep

    Joe Burke Guest

    Charliep,

    I'm curious about, "...when my A2K4 is slow while picking objects." That seems to
    imply it's not always slow, just sometimes. If that's true, is there any pattern to
    the behavior? For instance, does it happen when you have many drawings open? Or maybe
    with a few large drawings.

    I ask because I have a new Dell machine much like yours. I've noticed sometimes when
    I have AutoCAD (A2k2) running for a long time, it starts to slow down. Long time
    meaning like all day. When it happens, I just exit and restart A2k2. Then I open the
    same files I was working with before. Now it's not slow.

    This didn't happen with my old Dell machine, a P3 866 with half as much RAM (512).
    Both machines run Win XP Pro.

    Joe Burke

    picking objects or regenerating drawing.
    http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=2896135&linkID=2475323
    about seeing if this may help me when my A2K4 is slow while picking objects.
    what most of my drawings would need. I opened my acad.lsp file and entered below the
    rest of my system variables, that work, the following,
    existing drawings, hoping that it will update them, they show something like,
    1'-5",0'-11". Is not the acad.lsp supposed to over ride the files variable setting?
    Am I doing something wrong? Does someone have a LISP or routine that will cause all
    new or existing drawings to update to a predefined limmax variable?
     
    Joe Burke, Apr 8, 2004
    #8
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.