GetElement
Element GetElement(this RevitLinkInstance link, ElementId id)Gets an element by id from the linked document.
Parameters
- linkRevitLinkInstance
The link instance.
- idElementId
Element id in the linked document.
Returns: The linked element, or null if not found / link not loaded.
Example
Element e = link.GetElement(new ElementId(12345));