Lisp or Vlisp way to quickly

Discussion in 'AutoCAD' started by Gordon Price, Apr 15, 2004.

  1. Gordon Price

    Gordon Price Guest

    I know in VBA there is a simple property to get a count of layers. Can one
    do this in Lisp without looping thru the list and counting? My goal is to
    make a tool that sets MaxSort to 5% larger than the number of layers, as
    apposed to the tool I have now that adds a feww hunderd to the value, and
    sometimes you need to do the command 2 or 3 times to get the sort to work,
    and there is no way (in my current tool) to reduce MaxSort again. Or should
    I just set MaxSort to some huge number and be done with it, because it no
    longer impacts performance on these modern, speedy machines of ours?

    Thanks,
    Gordon
     
    Gordon Price, Apr 15, 2004
    #1
  2. Gordon Price

    bob.at Guest

    Gordon,

    i think it does not matter how much higher maxsort is 5% to 200%. When it *is* higher than the number of layers the names are sorted. And the time for sorting depends only of the number of layers, but not of the value of maxsort.

    bob.at
     
    bob.at, Apr 15, 2004
    #2
  3. olla
    news:407ed49c_2@newsprd01...
     
    steve carlson, Apr 16, 2004
    #3
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.