lisp: "display paper background"

Discussion in 'AutoCAD' started by jclaidler, Feb 18, 2004.

  1. jclaidler

    jclaidler Guest

    What variable controls the "display paper background" option ??
     
    jclaidler, Feb 18, 2004
    #1
  2. jclaidler

    BillZ Guest

    Not sure if this is what you're looking for.

    (vla-get-display (vla-get-preferences (vlax-get-acad-object)))

    LayoutDisplayMargins = -1
    LayoutDisplayPaper = -1
    LayoutDisplayPaperShadow = -1

    Bill
     
    BillZ, Feb 18, 2004
    #2
  3. jclaidler

    jclaidler Guest

    What I need is to be able to temporarily turn off the 'paper background' in paper space, then turn it back on again.
     
    jclaidler, Feb 18, 2004
    #3
  4. jclaidler

    BillZ Guest

    (vlax-put (vla-get-display (vla-get-preferences
    (vlax-get-acad-object))) "LayoutDisplayPaper" 0)

    Requires a regen to see the change.

    (vlax-put (vla-get-display (vla-get-preferences
    (vlax-get-acad-object))) "LayoutDisplayMargins" 0)

    HTH
    Bill
     
    BillZ, Feb 18, 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.