Macros Please

Discussion in 'AutoCAD' started by richard_l_smith, Apr 28, 2004.

  1. When upgrading, i forgot to copy accross some custom toolbar buttons which I had. I've attempted to recreate them, but I'm completely useless at writing macros, so I wonder if someone could please help me out with a macro that will turn all layers on? and a macro that wil lock all layers?... Thanks
     
    richard_l_smith, Apr 28, 2004
    #1
  2. richard_l_smith

    DFrank Guest

    Richard,

    (command ".layer" "ON" "*" "")

    (command ".layer" "LO" "*" "")

    Substitute the "ON" or "LO" with any other option of the LAYER command to turn off, unlock, etc.
     
    DFrank, Apr 28, 2004
    #2
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.