Results 1 to 4 of 4

Thread: Journal files and screen size/resolution

  1. #1
    I could stop if I wanted to Danny Polkinhorn's Avatar
    Join Date
    2003-12
    Location
    Honolulu, HI
    Posts
    447

    Default Journal files and screen size/resolution

    I was talking with Steve Burri yesterday about a journal file that wasn't restoring a model. Basically the journal file records the location of the cursor as you're working. The cursor location is based on the screen image and not on real coordinates in the model. Therefore, if you change your screen resolution or maximize/restore the Revit application during your session, you could cause the journal file to not work. So if you rely on your journal files, make sure you leave your screen as is during the session. Steve, correct me if I'm wrong, but Revit does track changes to individual views, maximize, tile, etc.

    Hope that helps,
    Danny Polkinhorn
    WATG

  2. #2
    Revit Founder LRaiz's Avatar
    Join Date
    2003-07
    Location
    Newton, MA
    Posts
    714

    Default Re: Journal files and screen size/resolution

    This is not accurate; journal files were designed to be re-playable even if screen resolution is changed. I may shed some more light on it.

    Journal file mouse xy information is indeed recorded in terms of pixel coordinates (resolution dependent). However journals also record viewing matrices and during replay Revit never uses pixel information directly. It first transforms pixels into model coordinates using recorded viewing matrices. This approach allows to avoid dependency on either size/position of overall Revit window or screen resolution. Factory takes advantage of this design by being able to reproduce bugs and run automated regression tests regardless of screen resolution on a machine that was used for journal recording.

    If you run into an example when screen resolution is the definitive reason for journals becoming non-replayable then you probably encountered some bug but not an overall design limitation.

    HTH,
    Leonid Raiz

  3. #3
    I could stop if I wanted to Danny Polkinhorn's Avatar
    Join Date
    2003-12
    Location
    Honolulu, HI
    Posts
    447

    Default Re: Journal files and screen size/resolution

    Leonid,

    Thanks for the response and clarification.

    The journal file in question would move around the screen (after opening the file) start the dimension command, and on the first click, it missed an object and failed. We assumed that it may have been because of a change in the screen status. Of course, we all know what happens when we assume.

    Thanks again for clarifying.
    Danny Polkinhorn
    WATG

  4. #4
    Autodesk Revit Developer
    Join Date
    2004-02
    Location
    Waltham
    Posts
    468

    Default Re: Journal files and screen size/resolution

    Either you upgraded to another build or the file the journal's working on is not identical to the file the journal was recorded on.

Similar Threads

  1. Screen resolution is changing by itself??
    By peja in forum AutoCAD Mechanical - General
    Replies: 5
    Last Post: 2009-01-13, 06:06 PM
  2. Screen resolution affecting pasting
    By baili37 in forum AutoLISP
    Replies: 2
    Last Post: 2008-10-20, 02:24 PM
  3. Screen Resolution Issues.
    By AllieEatsSushi in forum CAD Management - General
    Replies: 2
    Last Post: 2008-08-13, 06:46 PM
  4. screen resolution
    By rwbaker in forum Hardware
    Replies: 3
    Last Post: 2005-12-07, 06:20 PM
  5. Excel OLE and screen resolution
    By rplato in forum AutoCAD General
    Replies: 0
    Last Post: 2004-09-30, 07:18 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
  •