Command/routine for thawing all layers frozen in viewport?

Discussion in 'AutoCAD' started by JamieLandmark, Nov 15, 2004.

  1. Hello,

    Is there a command or lisp routine that will thaw all layers frozen within a viewport?

    Thanks,

    Jamie
     
    JamieLandmark, Nov 15, 2004
    #1
  2. Why not just use the VPLAYER command?
     
    Jason Piercey, Nov 15, 2004
    #2
  3. JamieLandmark

    Douglas Barr Guest

    I have a variety of lisp routines that work with layers. One of them, for example,
    freezes all layers but the ones you've preselected within that vport. Let me know if
    you're interested.
     
    Douglas Barr, Nov 15, 2004
    #3
  4. Jason,

    Thanks for the reminder about the command. I haven't used it much. It looks pretty powerful. I need to start taking advantage of it.

    For those interested, the following routine does what I want:

    ;Routine to thaw all layers frozen in current viewport.
    ;
    ;JamieLandmark
    ;11-15-04
    ;
    (defun c:vpthaw ()
    (command "vplayer" "t" "*" "a" "")
    (princ)
    )
     
    JamieLandmark, Nov 15, 2004
    #4
  5. Douglas,

    Thanks for the reply. I'll definitely keep you in mind.

    Did you read the following post:

    http://discussion.autodesk.com/thread.jspa?messageID=4151733 ?

    This is my dream routine for working with layers. Lucas (another reader of this group) is currently working on it.

    If you have a routine that can do what I asked in that post, I'm definitely interested.

    Thanks again,

    Jamie
     
    JamieLandmark, Nov 15, 2004
    #5
  6. Oops, I should have tested my routine a little more. It still does what I want, but I need to change its title to:

    ;Routine to thaw all layers frozen in all viewports.
     
    JamieLandmark, Nov 15, 2004
    #6
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.