How to generate GUID to each node during conversion?

When converting CAD and BIM files, how to generate GUIDs and assign them to nodes as attribute and include them in the output file?

HOOPS Exchange supports the concepts of both persistent IDs and non persistent IDs for certain file formats. You can find more information here:
https://docs.techsoft3d.com/exchange/latest/guide/persistent_ids.html
https://docs.techsoft3d.com/exchange/latest/api/structA3DRootBaseData.html#_CPPv4N15A3DRootBaseData16m_pcPersistentIdE

2 Likes

We had a need to export STEP files and preserve unique IDs recently. While they didn’t support the persistent IDs directly, we were able to instead use the entity name field. We formatted the IDs as strings and set them on the name fields before exporting to STEP and the string IDs showed up in the STEP file. Something to keep in mind if you’re not using one of the formats listed in the link provided earlier.

2 Likes