TransformToHostCoordinates
XYZ TransformToHostCoordinates(this XYZ linkedPoint, RevitLinkInstance linkInstance)Transforms a point from the coordinate space of a linked Revit model to the coordinate space of the host model.
Parameters
- linkedPointXYZ
Point in link coordinates.
- linkInstanceRevitLinkInstance
The link instance providing the transform.
Returns: The transformed point in host coordinates (or null on failure).
Example
XYZ hostP = linkedP.TransformToHostCoordinates(linkInst);