public ICollection<ElementId> NewRooms2( Level level )
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If the view of the relevant level can not be retrieved. |
| InvalidOperationException | If the phase is invalid, or regeneration fails at the end of the creation. |
| ArgumentException | Thrown if the level does not exist in the given document. |