Author Topic: zooming in multiple drawings  (Read 2158 times)

0 Members and 1 Guest are viewing this topic.

subbup

  • Guest
zooming in multiple drawings
« on: March 19, 2005, 04:54:51 AM »
Hello All,

I have two drawings opened in a single session.
Wherever I am zooming in one drawing, the other drawing also should be zoomed to that area. How can i proceed for this?

whdjr

  • Guest
zooming in multiple drawings
« Reply #1 on: March 21, 2005, 11:27:02 AM »
I don't think you can in lisp.  The expresstools has a function to synchronize viewports within the same layouttab but not in different tabs.  I have no idea if this could be possible with VBA or not.

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4075
zooming in multiple drawings
« Reply #2 on: March 23, 2005, 03:50:50 PM »
To the best of my knowledge, you cant very easily.  This is b/c Autocad sets aside a separate memory space for each drawing.  Thus a command in one would not be seen in another.  However, you might be able to use BeginCommand and End command in VBA to trap the zoom, store the coordinates, and use For Each Doc in collection, zoom to coords.  This all assumes that ea of the drawings is located in the EXACT same spot with regards to the others. i.e. 0,0 is the same spot in all the drawings
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)