Dears,
I need help for What is the best way to generate GUID code in Revit?
and if I generate GUID more than once, It will change for the same element or will remain when generation happen several times.
Thanks and my best regards,
Not sure what you are after. You are not generating GUIDs, Revit does. When objects are created they get an (GU)ID appointed.
But on the BUILDINGCODER website you can find a discussion about GUIDs which might help you.
Louis
Please mention Revit version, especially when uploading Revit files.
Hi,
Thank you for taking your time to post this on the forum,
As mentioned in the comment above, GUIDs gets generated automatically every time you create something in Revit.
If you modify an object or move it, the GUID will remain the same - However, it will generate a new one if you copy/paste the object.
What is the aim here? Are you using it for Field?
Thank you Jacob,
I want to extract GUID as a filed and use it as a unique code for elements in the model and to be locked filed cannot be modified.
This may be useful:
http://thebuildingcoder.typepad.com/blog/2009/02/uniqueid-dwf-and-ifc-guid.html
"A GUID is a 16-byte, i.e. 128 bit number. It is commonly split up into several fields of varying lengths and written in groups of 8-4-4-4-12 hexadecimal characters, i.e. 32 characters to represent the 16 bytes or 128 bits.
On the other hand, we have the Revit UniqueId. Every element has such a unique identifier, which is returned through the API as a string. This string is formatted in groups of 8-4-4-4-12-8 hexadecimal characters. It is thus similar to the standard GUID format, but has 8 additional characters at the end. These 8 additional hexadecimal characters are large enough to store 4 bytes or a 32 bit number, which is exactly the size of a Revit element id."
Dear Jacob.westergaard
For now, I am not able to see the ID in schedule as attached. I am really stuck for now. Please help.
Better to start a new thread. Further maybe explain what you are trying to do.
How are you trying to generate those IfcGUIDs?
Louis
Please mention Revit version, especially when uploading Revit files.
I need the GUID/s to create the excel report from revit and to transfer my model into GIS.
there is (u can see) some GUID/s not showing into the schedule which I have created from the revit schedule. I have created the "Communication Device Schedule" to understand in better way. The screenshots is attached below for example. Please help.
@dipak.workshare wrote:
I need the GUID/s to create the excel report from revit and to transfer my model into GIS.
there is (u can see) some GUID/s not showing into the schedule which I have created from the revit schedule. I have created the "Communication Device Schedule" to understand in better way. The screenshots is attached below for example. Please help.
Any help from AutoDesk guys ??
Note that the ifcGUID are only generated after export to IFC. So if you add new elements to the project after exporting to IFC those will not have a IfcGUID parameter yet.
Louis
Please mention Revit version, especially when uploading Revit files.
I have save as the family for the door tag and changed the door type (lable) as ifcGUID. I am not able to pply the ifcGUID tag to my door model. as I am not able to find it into the schedule too. I have also tried the HOT GEAR plugin to export aand import the ID's But still stuck in the same. Please help... (I have attached the image for your reference)
Do element GUID's change in an XREF file that is now bound into the host file?
Hi,
There is a free Revit plugin call DiRoots that can extract the GUID (and pretty much anything else) to and from excel
Check it out
Cheers
Merci pour cette information, mais que le cas ou on import un nouvel élément IFC dans du fichier en cours qui a déjà été exporté comme generer les nouveaux ifcGUID des elements importés.
Par avance merci de votre réponse.
Hi,
When I export an IFC from Revit , I have some components without IfcGUID !!!
I don't know why.
Can you tell me a reason please.
Thanks
Hi,
When I export projects from Revit to IFC I have all time the same IfcSite GUID, IfcBuilding GUID, and IfcProject GUID for all projects.
Have you an idea about that?
Thanks
Thanks anyway.
I hope there will be another person who will see my questions.