Room.IsPointInside

This checks if a given Point is contained inside a Revit Room element. Combined with various collection tools, it can effectively build a list of items that are inside a Room across links in a federated model.

RoomIsPointInside

DYN sample: Elements in Room – Multilink and Multicategory (DynamoWorks)