Is there a way to change ElementId?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'll give some background on why I need to change ElementId in Revit.
I'm running a process where we export IFC files, since IFC Files are not supported for BIM360 clashing (at least the software we use is not supported), I am opening those files in Revit and then after that, I'm exporting that new Revit file as an NWC.
We now have BIM360 clashes. But also, we now have problems. Since everyday we have new IFC files from that software, all clashes are restored. So if we approve one clash, the next day that clash is still going to show there since the Revit ElementId changed.
I figured I could set up a database for IfcGUID, and then generate ElementIds for each of those files, then when I open those IFC files in Revit, I can change the ElementId in the model for the one in the database. This would maintain Revit Element Id consistent and clashing should be consistent too.
Which leads back to the question, is there any way to change ElementId in Revit for a specific one?
I noticed I could use ElementTransformUtils and copy the elements on the model, but it automatically generates the ElementId for the copied object, which defeats the purpose of what I want to achieve.
Any help will be greatly appreciated!
Thanks for reading!