Process Analyst File Name

Hello All,

Trying to access the Process Analyst File Name of an open process analyst window to display as part of the window title.

Is this parameter readily available as a process analyst object? I know how to obtain the file name and display it using WinTitle() function

but it would be easier to use the object if possible.

Thank you for your help.

Jim Spence

  • Hi Jim,


    If you have the latest update on 2015 and later you will find the automation model of the Process Analyst has been updated to include:

    1. A new event called: "ViewLoadedSavedOBJECT processAnalyst, STRING sViewLocation, INT bIsLoadedSaved)". This event is raised whenever a view is either loaded or saved via the automation model, or through the Load/Save dialog at run time.

    2. A new property on the IProcessAnalyst interface called "ViewLocation". This represents the location of last successfully loaded or saved PAV file. e.g. If you loaded a PAV file test.pav from the project folder, this property will be "[Local]test.pav".

    Cheers,

    bradley
  • Thank you very much. Exactly what I was looking for. Have a great day.