- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am playing around using 7 zip and exploring the .rvt compound file structure. I came across something strange.
With 7-zip you can extract a .rvt file as a compound file, and it works on all Revit projects I tried.
In 7-zip, I decided to play with different settings and found out that if you extract a .RVT file as a ZIP archive, it gives warnings, and doesn't extract any data that you would see when exploring the compound file structure, but instead you get a really cool XML Atom file with some good information in it... Has project owner, project address, project number, Revit version, etc... PROBLEM: this works on like 80 percent of Revit projects I tested it on. On certain projects, it just errors out and no XML Atom file is extracted... I tried finding the common denominator, and I believe it fails on projects that have imported AutoCAD DWGs, but this is just a theory...
My question: Does anyone know a proper way of getting the XML Atom file out of .RVT compound file structure? My zip method seems like a glitch, and I do not have enough knowledge of all of the moving pieces to know where to research this.
I found information on family PartAtom XML files, but not on Revit project files...
Here is the XML file i get out of .RVT if I extract it as a ZIP file:
<?xml version="1.0" encoding="UTF-8"?>
-<entry xmlns:A="urn:schemas-autodesk-com:partatom" xmlns="http://www.w3.org/2005/Atom">
<title>REVIT_2022_PROJECT</title>
<updated>2022-07-06T09:53:41Z</updated>
-<A:taxonomy>
<term>adsk:revit</term>
<label>Autodesk Revit</label>
</A:taxonomy>
-<A:taxonomy>
<term>adsk:revit:grouping</term>
<label>Autodesk Revit Grouping</label>
</A:taxonomy>
-<link href="." type="application/rvt" rel="design-2d">
-<A:design-file>
<A:title>REVIT_2022_PROJECT.rvt</A:title>
<A:product>Revit</A:product>
<A:product-version>2022</A:product-version>
<A:updated>2022-07-06T09:53:41Z</A:updated>
</A:design-file>
</link>
-<A:features>
-<A:feature>
<A:title>Project Information</A:title>
-<A:group>
<A:title>Identity Data</A:title>
</A:group>
-<A:group>
<A:title>Route Analysis</A:title>
</A:group>
-<A:group>
<A:title>Other</A:title>
<Project_Issue_Date type="system" typeOfParameter="Text" displayName="Project Issue Date">Issue Date</Project_Issue_Date>
<Project_Status type="system" typeOfParameter="Text" displayName="Project Status">Project Status</Project_Status>
<Client_Name type="system" typeOfParameter="Text" displayName="Client Name">Owner</Client_Name>
<Project_Address type="system" typeOfParameter="Multiline Text" displayName="Project Address">Enter address here</Project_Address>
<Project_Name type="system" typeOfParameter="Text" displayName="Project Name">Project Name</Project_Name>
<Project_Number type="system" typeOfParameter="Text" displayName="Project Number">Project Number</Project_Number>
</A:group>
</A:feature>
</A:features>
</entry>
Solved! Go to Solution.