Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is IFC guid stored? #100

Closed
eibre opened this issue Apr 4, 2019 · 5 comments
Closed

Where is IFC guid stored? #100

eibre opened this issue Apr 4, 2019 · 5 comments

Comments

@eibre
Copy link
Contributor

eibre commented Apr 4, 2019

Is the IFC-GUID stored in Revit unless you check the following checkbox?
image
Is the GUID expected to be stable in the future exports of the same element if it's not strored as a parameter in Revit?

@AngelVelezSosa
Copy link
Contributor

The GUID is expected to be stable, but this checkbox future-proofs against any necessary (or unexpected) changes based on a newer version of the IFC. It isn't necessary, which is why it is in the Advanced tab.

@eibre
Copy link
Contributor Author

eibre commented Apr 4, 2019

Thanks! Is it possible to figure out the Revit element that correspond to a certain guid if the option was not checked during export? Is there a mapping saved somewhere else or is the IFC guid based on revits unique id somwhow? We want to parse a bcf file and get the elements in Revit based the IFC guids stored in the file.

@AngelVelezSosa
Copy link
Contributor

The general way to generate the GUID is to use a base GUID and XOR with the element id. But not sure you have access to that GUID in BCF. The element id isn't in the tag in BCF?

@eibre
Copy link
Contributor Author

eibre commented Apr 9, 2019

I guess we can look up the element id in the IFC file by the GUID from BCF. Thanks for the info Angel!

@eibre eibre closed this as completed Apr 9, 2019
@klacol
Copy link

klacol commented Jun 13, 2019

Please be aware of changing GUID's when changing the phase, see #65.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants