Closing open viewport with lisp

Discussion in 'AutoCAD' started by Chip Harper, Jan 16, 2004.

  1. Chip Harper

    Chip Harper Guest

    Tilemode=0 and cvport=2 tells me that I'm in paperspace and in an open
    viewport. Setting cvport to 1 gives me an invalid error, changinging
    tilemode to 1 and then trying to set cvport to 1 gives me an invalid error,
    so how might I go about closing an open viewport via lisp? I'm thinging that
    I need to identify the currently active viewport window from the table
    first??
     
    Chip Harper, Jan 16, 2004
    #1
  2. (command ".pspace") ?
     
    Jason Piercey, Jan 16, 2004
    #2
  3. Chip Harper

    Chip Harper Guest

    Geez, never occured to me. Thanks Jason. :)
     
    Chip Harper, Jan 16, 2004
    #3
  4. You're welcome.
     
    Jason Piercey, Jan 16, 2004
    #4
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.