JackRyn / BlueBeam-Script-Engine-Markup-Update

This is a VBA script built for Excel and BlueBeam. The script will update custom column data for markups in BlueBeam.
MIT License
1 stars 0 forks source link

HEX Encoding #1

Open BDawg95 opened 2 weeks ago

BDawg95 commented 2 weeks ago

Hey Man! Great work so far. I ran the VBA and BCI script. Bluebeam acknowledged there were updates to the markups, however none of the values actually changed. I've been working on a similar Python code that parses the new CSV mark-up data into a new version of the exported XML file from Bluebeam. The XML updates and imports back into Bluebeam, but similarly no markup values actually change once imported. I've come to the conclusion that the updates are not actually being applied because the XML is not being recompressed and encoded back into the original HEX string. My code attempts to recompress and encode back into the same format as the original .BAX file, but my new HEX string does not match the original HEX string format or structure causing the validation to fail. These are my only possible explanations for why this is happening, but I've reached a dead end. Let me know if you have any thoughts!

•   Compression Methods: The original .bax file might be using a specific compression method or a combination of methods that the script cannot accurately replicate. This could include proprietary or non-standard compression techniques.
•   File Format: The .bax file format might have additional metadata, headers, or footers that are not being correctly handled by the script.
•   Binary Data Integrity: Any minor discrepancy in the binary data (such as headers, footers, or checksums) can cause the recompressed data to differ from the original, even if the XML content itself is correct.

From a fellow Bluebeam Xtreme power user!

BDawg95 commented 2 weeks ago

https://gist.github.com/blip2/68c3bf3809a9f13051251789edf1595b