{"success":true,"data":{"ext":"rvt","name":"Revit Project File subheader","description":"The Revit Project File format is a proprietary building information modeling file format developed and maintained by Autodesk for use with Autodesk Revit. It stores architectural, structural, and mechanical design data for creating, editing, and coordinating 3D building models, construction documentation, and project collaboration. These files are generally safe, but as with other complex design documents, they should be opened only in trusted software and kept updated to avoid compatibility issues.","mime":[],"risk_level":"Safe","signatures":[{"hex":"00 00 00 00 00 00 00 00","offset":512,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"D0 CF 11 E0 A1 B1 1A E1","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["pdb","tbi","xxx"],"usage":{"python":"def is_rvt(file_path: str) -> bool:\n    \"\"\"Check if file is a valid RVT by magic bytes at offset 512.\"\"\"\n    signature = bytes([0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00])\n    with open(file_path, \"rb\") as f:\n        f.seek(512)\n        return f.read(8) == signature","node":"function isRVT(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]);\n  if (buffer.length < 520) return false;\n  return buffer.subarray(512, 520).equals(signature);\n}","go":"func IsRVT(data []byte) bool {\n    signature := []byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}\n    if len(data) < 520 {\n        return false\n    }\n    return bytes.Equal(data[512:520], signature)\n}"}}}