Results 1 to 2 of 2

Thread: Pan in vba or something close.

  1. #1
    Member
    Join Date
    2005-08
    Posts
    17

    Default Pan in vba or something close.

    Is it possible to bring highighted object in the visible are (or say center of the window)?

    thanks
    keyur

  2. #2
    Administrator RobertB's Avatar
    Join Date
    2001-08
    Location
    Dallas TX USA
    Posts
    5,825

    Default Re: Pan in vba or something close.

    Yes. Get the bounding box of the selected object, determine center point, use ZoomCenter method on that center point. Magnification could be calculated by comparing the ViewSize system variable against the bounding box height.

Similar Threads

  1. I'm close, but not quite there yet...
    By dwahl in forum AutoLISP
    Replies: 7
    Last Post: 2011-10-13, 01:58 PM
  2. Oh, so close...
    By bowlingbrad in forum AutoCAD Customization
    Replies: 0
    Last Post: 2009-02-17, 05:20 PM
  3. Welcome Screen Will not Close
    By CADdancer in forum ACA General
    Replies: 6
    Last Post: 2008-11-10, 07:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •