RVTDocs.com
Namespace: Autodesk.Revit.DB Class: FamilyInstance

FamilyInstance.GetSpatialElementFromToCalculationPoints

Method
Description:
Gets the locations for the calculation points for this instance.
Remarks:

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".

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