ProjectLocation.GetProjectPosition
Description:
Gets the coordinates of a point in the ProjectLocation's coordinate system.
Gets the coordinates of a point in the ProjectLocation's coordinate system.
Remarks:
When getting this value, the North/South, East/West, and Elevation values report the coordinates of the point similar to the Revit command "Report Shared Coordinates". To get the values of the transformations applied by this project location, pass XYZ.Zero.
If the project has acquired shared coordinates from a linked model, the shared coordinate transformation will be reflected in the coordinates of the transformed point returned by this property.
public ProjectPosition GetProjectPosition(
XYZ point
)
-
point
Return Value
ProjectPosition
-
A non-optional argument was NULL
-
Unable to use the project position's transform to calculate the point.