NewRoom Method (Phase)


Document New Room(Phase) Method

Creates a new unplaced room and with an assigned phase.

Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public Room NewRoom(
	Phase phase
)

Parameters

phase Phase
The phase in which the room is to exist.

Return Value

Room
If successful the new room , otherwise .
Exceptions
Exception Condition
ArgumentException Thrown if the phase does not exist in the given document.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →