Editing Zoom Extent command

Discussion in 'AutoCAD' started by Mel Dresp, Jun 1, 2004.

  1. Mel Dresp

    Mel Dresp Guest

    When the "zoom extent" command is executed the dwg(s) fill the screen. I
    would like to edit this command so the dwg(s) only fill about 95% of the
    screen, leaving blank space around the edges. Anyone help.
     
    Mel Dresp, Jun 1, 2004
    #1
  2. Mel Dresp

    ECCAD Guest

    You cannot undefine just a portion of Zoom..but you can add
    a key-board macro function - like:

    (defun C:ZE95 ()
    (command "_.zoom" "_e")
    (command "_.zoom" "_s" "0.95xp")
    )

    Cheers

    Bob
     
    ECCAD, Jun 1, 2004
    #2
  3. Mel Dresp

    NParcon Guest

    Try this:

    Command: zoom

    Specify corner of window, enter a scale factor (nX or nXP), or [All/Center/Dynamic/Extents/Previous/Scale/Window] <real time>: 0.95x
     
    NParcon, Jun 1, 2004
    #3
  4. Mel Dresp

    OLD-CADaver Guest

    (defun C:ZE95 ()
    (command "_.zoom" "_e")
    (command "_.zoom" "_s" "0.95xp")
    )

    Wouldn't that be:

    (command "_.zoom" "_s" "0.95X")

    as XP is relative to paperspace?
     
    OLD-CADaver, Jun 1, 2004
    #4
  5. Mel Dresp

    ECCAD Guest

    Oops,
    You are correct. Just 0.95x..silly me.
    You can also shorten the C:ZE95 to just C:ZE if desired.

    Bob
     
    ECCAD, Jun 1, 2004
    #5
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.