1 Reply Latest reply on Jun 22, 2015 8:29 AM by Eugene Lee

    Processbook ERD currentcontext and timerange

    e884479

      hi alltogehter,

       

      is there a possibility to set the timeconext for a ERD processbook display while I set the current conetxt?

      I don't want to load the display in a current time conext "*" first and the to switch via ThisaDisplay.SetTimerange(st,et).

       

       

      cheers

      Chris Benitz

        • Re: Processbook ERD currentcontext and timerange
          Eugene Lee

          Hi Christian,

           

          Welcome to PI Square. Firstly, in general, the 'Master PI' space is generally for questions that are related to the courses in the space. For your question, it would belong more appropriately to the 'PI Developers Club' space.

           

          To answer your question, you can add ThisDisplay.SetTimerange(st,et) to the ContextChanged event that is fired by the ContextHandler. I believe this will achieve your purpose.