Revit journal files

Revit journal files

Anonymous
Not applicable
656 Views
5 Replies
Message 1 of 6

Revit journal files

Anonymous
Not applicable

Hi everyone, 

I have exported massive data of generated Revit journal files in .dpm format. the thing which I looking for is how to encounter these data in terms of clean and make them ready for analyzing. I prefer to convert .dmp to .csv format after cleaning. 

I will be appreciateed it if anyone gives me an idea about this problem. 

Thanks-

Mohammad 

0 Likes
657 Views
5 Replies
Replies (5)
Message 2 of 6

jeremy_tammik
Alumni
Alumni

This has nothing to do with the Revit API, so we cannot help you here.

 

Revit journal files are not an officially supported API functionality.

 

Moreso, you say nothing about what you are filtering for.

 

Above all, a DPM file is not a Revit journal file. Apparently, it is some form of Microsoft debugging tooL

 

https://docs.microsoft.com/en-us/system-center/dpm/install-dpm?view=sc-dpm-2019

 

I think you are probably in the wrong place for this question.

 

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 3 of 6

Anonymous
Not applicable

Hi @jeremy_tammik 

Thanks for getting back to me. Since I am new in this field I needed some idea on how to filter items I need through text files. The needed items are date, user, commands and project type which is time-consuming to extract in each text file. I am googling to find the solution and sorry for asking about my problem in the wrong forum.

Thanks- 

Mohammad 

0 Likes
Message 4 of 6

jeremy_tammik
Alumni
Alumni

No problem and thank you for your appreciation.

 

Typical powerful command-line Unix tools to achieve this are grep, awk and sed, all three described in brief on Wikipedia:

 

 

I use all three frequently for such tasks.

 

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 5 of 6

Anonymous
Not applicable

Thank you @jeremy_tammik  for the suggestions, Since I decided to cluster my data for an ongoing project  I prefer to parse them with python packages. The problem which I faced today is that there are types of date and time in the logs, I will put them here in case you can help me to find out what is the difference between them!

'C 04-Mar-2021 19:05:03.722

'E 04-Mar-2021 19:05:04.697

'H 04-Mar-2021 19:05:11.358

Thanks again and sorry if I am not asking my question in the right forum:)

0 Likes
Message 6 of 6

jeremy_tammik
Alumni
Alumni

I see the following differences:

  

  • Prefix C/E/H differs
  • Date is identical, however, not ISO 8601 standard
  • Time differs

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes