GetBoundingBoxInHostCoordinates
BoundingBoxXYZ? GetBoundingBoxInHostCoordinates(this Element linkedElement, RevitLinkInstance linkInstance)Returns the bounding box of a linked element in the host model coordinate system.
Parameters
- linkedElementElement
The element from the linked document.
- linkInstanceRevitLinkInstance
The link instance providing the transform.
Returns: BoundingBoxXYZ in host coordinates (or null on failure).
Example
BoundingBoxXYZ? bbHost = linkedEl.GetBoundingBoxInHostCoordinates(linkInst);