Revit 2025.3 API
Family |
Gets the locations for the calculation points for this instance.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public IList<XYZ> GetSpatialElementFromToCalculationPoints()
Public Function GetSpatialElementFromToCalculationPoints As IList(Of XYZ)
public: IList<XYZ^>^ GetSpatialElementFromToCalculationPoints()
member GetSpatialElementFromToCalculationPoints : unit -> IList<XYZ>
Return Value
IListXYZA list of 3d points.

Exception | Condition |
---|---|
InvalidOperationException | Thrown if this instance does not have from/to calculation points.. |

For a family instance which connects two rooms or spaces, such as a door or window, the points determine which room or space is considered the "from" and which is considered the "to".
See Also