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

FamilyInstance.ToRoom

Property
Description:
The "To Room" set for the door or window in the last phase of the project.
Remarks:
Revit automatically calculates the "To Room" for a given door or window. This is the default shown when creating a door or window schedule and adding the "To Room" properties. The user can opt to swap the "From Room" and "To Room" values via the schedule if they choose. The method FlipFromToRoom() also can be used to swap the values.
Syntax
public Room ToRoom { get; }