Skip to content
Discussion options

You must be logged in to vote

Thanks for issue reporting! iTwin really should provide such IfcGUID properties in the same "compressed" IFC GUID format like Revit and IFC viewers. This will be fixed in a few weeks.

As a workaround, currently you may use the code and samples from the article you mentioned to convert such "extended GUID" values like "ecb4ea7-9c01-4100-a141-20de23991a24-000434a8" as Revit UniqueId into base64-encoded IFC GUID "3ijEQdd0510A518DuZdIwC":

  • Cut EpisodeId GUID "ecb4ea7-9c01-4100-a141-20de23991a24"
  • XOR last bytes with ElementId "000434a8"
  • Encode into base64 format using getString64FromGuid() function from the code archive referenced in this article

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ongiao2301
Comment options

Answer selected by yuryleb2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants