RVTDocs.com
Namespace: Autodesk.Revit.Creation Class: Document

Document.NewRoom(Phase)

Method
Description:
Creates a new unplaced room and with an assigned phase.
Syntax
public Room NewRoom(
	Phase phase
)
Parameters
Parameter Type Description
phase Phase The phase in which the room is to exist.
Return Value
Type Description
Room If successful the new room , otherwise .
Exceptions
Exception Condition
ArgumentException Thrown if the phase does not exist in the given document.