Document New |
Creates a new room on a level at a specified point.
Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)

Parameters
- level Level
- The level on which the room is to exist.
- point UV
- A 2D point that dictates the location of the room on that specified level.
Return Value
RoomIf successful the new room will be returned, otherwise .

Exception | Condition |
---|---|
ArgumentException | Thrown if the level does not exist in the given document. |

This method will regenerate the document even in manual regeneration mode.
