TransformToLinkCoordinates
XYZ TransformToLinkCoordinates(this XYZ point, RevitLinkInstance linkInstance)Transforms a point from the host coordinate system to the coordinate system of the specified Revit link.
Parameters
- pointXYZ
Point in host coordinates.
- linkInstanceRevitLinkInstance
The link instance providing the transform.
Returns: The transformed point in link coordinates (or null on failure).
Example
XYZ linkP = hostP.TransformToLinkCoordinates(linkInst);