convert readable GUID to IFC-GUID (22 character length string) - Python

583 Views Asked by At

Currently I get a string for the GUID (readable) but I need the GUID as a fixed 22 character length string.

What i get:

'{0a820503-7dbf-4386-a8ec-9a312d6a81c2}'

What i need:

0AWWK3VRz3XgZicZ4jQe72

How can I convert the received string to get the GUID needed for IFC?

https://technical.buildingsmart.org/resources/ifcimplementationguidance/ifc-guid/

enter image description here

1

There are 1 best solutions below

2
On