Hi all,
Szenario:
I have an construction project with 2 or more buildings. All these buildings are similar. Ok, I plan the first building in Revit with some building elements (walls, doors, windows etc.) and some 2D-Descriptions and dimensions. Then I export this project "BLDG1" in IFC. I close Revit. In next I copy and rename this revit project with the windows datei explorer. Ok, then I have "BLDG1.RVT" and "BLDG2.RVT". I open "BLDG2" in Revit and change the projekt point to an other place. Then I add and change some walls, doors, etc and despcriptions. Then I export this project to IFC.
The problem:
The most IFC GUIDs in both IFC files are the same. Many programs need GloballyUniqueIDs. I need a Revit option or a workaround to generate new GUIDs for all elements.
Note: Whe I safe the "BLDG2" file as an Revit template and I export this to IFC then I get new GUIDs for IFCPROJECT, -SITE, -BUILDING and -BUILDINGSTOREY, but not for all other lements and types.
Not sure if it will work as I have never experimented with it before.
Option 1
When you have copied the file and opened it. Copy everything and then delete the original.
As the elements have been copied they should get new GUIDs.
Option 2
Export copied project to an IFC and make sure it will create an IfcGUID parameter.
In later versions of Revit (2019?) this parameter is writable.
You could use a Dynamo script to modify all these values.
Then export again to IFC if I am correct IFC should use the value from the IfcGuid parameter.
As mentioned, not sure if it will work, but do some experiments. Let us know how you did and your results.
Might be interesting for other users as well.
Louis
Please mention Revit version, especially when uploading Revit files.
Hello Louis,
thanks, I manually tested option 2 and it works fine. Next I looked for a Dynamo script in the package menu, but I can't find a suitable function. Do you know where I can get a Dynamo function/script to write new GUIDs for elements in a open Revit project?
Yes, I have try it and it run. Small side effect: Alle room numbers with the same value was new numbered...
Thx
is any possible to generate completely new IFC GUIDes for all elements using revit api's using
dotnet code
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.