Layer States & Restore issue

Discussion in 'AutoCAD' started by mnelson, Apr 23, 2004.

  1. mnelson

    mnelson Guest

    I’m trying to save a layer state and then later restore it in a routine. Although, I can’t get the restore function to work. Looks like it needs some kind of pause or while? Any ideas?

    (command "layer" "a" "s" "$PLconvert" "" "" "")

    (command "layer" "r" "s" "$PLconvert" "" "" "")
     
    mnelson, Apr 23, 2004
    #1
  2. mnelson

    bob.at Guest

    Hello,

    You can find out the correct order of options when typing "-layer" at the command prompt in AutoCAD. For restoring, i think the folloeing would work:

    (command "layer" "a" "r" "$PLconvert" "" "")

    bob.at
     
    bob.at, Apr 24, 2004
    #2
  3. mnelson

    mnelson Guest

    Yes, that works. I must have been on drugs yesterday.
     
    mnelson, Apr 24, 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.