ActiveX vlisp -pan?

Discussion in 'AutoCAD' started by Joe Burke, May 8, 2004.

  1. Joe Burke

    Joe Burke Guest

    I must be missing something obvious. Question: how to do the equivalent of (command
    "-pan" pt1 pt2) using vlisp ActiveX?

    I thought there might be a Pan method similar to the Zoom methods. Also looked at the
    ZoomCenter method, but it seems I don't understand how that works. I've used the
    ZoomScaled method, no problem.

    Do I need some combination of Zoom methods to do what -pan does?

    Thanks for any advice.
    Joe Burke
     
    Joe Burke, May 8, 2004
    #1
  2. Calculate the new view center relative
    to the current using the pan displacement,
    and then use Zoom Center
     
    Tony Tanzillo, May 8, 2004
    #2
  3. Joe Burke

    Joe Burke Guest

    Tony,

    I thought I should use ZoomCenter. Where do I find the current zoom factor so
    ZoomCenter only pans, rather than zoom and pan?

    Thanks
    Joe Burke
     
    Joe Burke, May 9, 2004
    #3
  4. Joe Burke

    Joe Burke Guest

    Duh... forgive my dumb questions. It's in VIEWSIZE.

    Joe Burke
     
    Joe Burke, May 9, 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.