I wrote a mini script that gets the IfcGuid from a Element of a linked File and copies the value to the clipboard. ( the IFC has previously been opened with Revit and Saved as Revit File, then linked to the project)
For what do we use it?
We got an IFC File from an MEP company containing volume Elements ( IfcBuildingElementProxy) as a demand for Openings to place in the structural model. If i open the ifc File in Solibri Model viewer, i have i see the BoundingBox Parameters : Width, Height.
this way we do not neet to mesure in Revit.
The script works, but Revit crashes after it ran…
any ideas?
Seems like you stumbled on a bug. Revit/Dynamo would crash if you end up sending a null value to the clipboard. To prevent this try adding the following line before the Clipboard.SendTo node: v == null ? "" : v;