Document.NewRooms2(Level)
Method
Description:
Creates new rooms in each plan circuit found in the given level in the last phase.
Creates new rooms in each plan circuit found in the given level in the last phase.
Parameters
Parameter | Type | Description |
---|---|---|
level | Level | The level from which the circuits are found. |
Return Value
Type | Description |
---|---|
ICollection | If successful, a set of ElementIds which contains the rooms created should be returned, otherwise . |
Exceptions
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. |