Trouble with VIEWSIZE

Discussion in 'AutoCAD' started by Josh, Aug 11, 2003.

  1. Josh

    Josh Guest

    I have a routine that will open a selected xref and zoom in that xref to
    match the screen of the host drawing. I use VIEWSIZE along with ZOOM Center
    to get the screen match. This works fine if the xref is selected while on
    the Model tab. However, when in a locked pspace viewport VIEWSIZE is
    constant no matter how close or far I'm zoomed to the viewport. I can be
    zoomed in to see only one square inch of pspace but VIEWSIZE will still be
    the same for the viewport.

    My question is how can I determine the true VIEWSIZE or zoom scale factor
    when in pspace? I can get the zoom xp scale from dxf codes and the VIEWSIZE
    of pspace but I can't figure the relationship between them to calculate the
    zoom factor for the xref.

    Thx
    Josh
     
    Josh, Aug 11, 2003
    #1
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.