Document.NewRoom(Phase)
Method
Description:
Creates a new unplaced room and with an assigned phase.
Creates a new unplaced room and with an assigned 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. |